Module:User:DePiep/sandbox/testcases
< Module:User:DePiep/sandbox
Jump to navigation
Jump to search
Revision as of 12:36, 22 March 2013 by blackwiki>DePiep
Documentation for this module may be created at Module:User:DePiep/sandbox/testcases/doc
-- Unit tests. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_hw()
self:preprocess_equals('{{#invoke:User:DePiep/sandbox|hw}}', 'Hello my own world')
self:preprocess_equals('{{#invoke:User:DePiep/sandbox|sub|abcdefghij|2||7}}', 'bcdefg')
end
return p