Module:DafYomi/testcases
Appearance
This is the test cases page for the module Module:DafYomi. Results of the test cases. |
-- Unit tests for [[Module:DafYomi]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_daf()
self:preprocess_equals('{{#invoke:DafYomi | date | year=2024|month=11|day=24}}', "''Bava Batra'' 152")
self:preprocess_equals("{{#invoke:DafYomi | date | year=2024|month=11|day=24|format=''[[%m (Talmud)|%m]]'', page %d}}", "''[[Bava Batra (Talmud)|Bava Batra]]'', page 152")
end
return p