Toggle menu
15
236
75
27.7K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Lua-mock/ProgrammableFn: Revision history

From Kenshi Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

26 February 2025

  • curprev 05:3605:36, 26 February 2025 Prd talk contribs 2,266 bytes +2,266 Created page with "--- @classmod ProgrammableFn --- Creates an easily programmable function for testing purposes. -- Multiple behaviours can be defined. -- A behaviour consists of a set of arguments and a set of return values. -- If the function is called with these arguments it will return the programmed -- return values. local ValueMatcher = require 'Module:Lua-mock/ValueMatcher' local ProgrammableFn = {} ProgrammableFn.__index = ProgrammableFn local function behaviourReturnValues(..."