Jump to content

Module:DafYomi/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ypn^2 (talk | contribs) at 19:33, 24 November 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local p = require('Module:UnitTests')

-- Example unit test.
function p:test_hello()
	self:preprocess_equals('{{#invoke:Sandbox/ypn^2 | date | {year=2008,month=1,day=1}}}', '1000')
end

return p