Module:SandboxB/testcases2

-- try the scribuntu lua-testcase framework at: https://en.wikipedia.org/wiki/Module:ScribuntoUnit --[[ local myModule = require('Module:MyModule') -- the module to be tested local ScribuntoUnit = require('Module:ScribuntoUnit') local suite = ScribuntoUnit:new

function suite:testSomeCall self:assertEquals('expected value', myModule.someCall(123)) self:assertEquals('other expected value', myModule.someCall(456)) end

function suite:testSomeOtherCall self:assertEquals('expected value', myModule.someOtherCall(123)) self:assertEquals('other expected value', myModule.someOtherCall(456)) end

return suite

--]]

--local myModule = require('SandboxB') local ScribuntoUnit = require('Dev:TestFramework') local suite = ScribuntoUnit:new

function suite:test_truth self:assertEquals('Hello, world!', 'Hello, world!') end --function suite:test_hello --   self:assertEquals('Hello, world!', myModule.hello) --end

return suite