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

Module:NumberSpell/testcases: 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.

9 March 2025

  • curprev 22:2822:28, 9 March 2025 Prd talk contribs 6,047 bytes +6,047 Created page with "-- Unit tests for Module:NumberSpell. Click talk page to run tests. local ns = require('Module:NumberSpell') local ScribuntoUnit = require('Module:ScribuntoUnit') local suite = ScribuntoUnit:new() local write = ns.main local _write = ns._main local max = 100 -- Maximum number that can be parsed. function suite:test0To100() self:assertEquals('zero' , _write(0)) self:assertEquals('one' , _write(1)) self:assertEquals('two' , _write(2))..."