Documentation for this module may be created at Module:ParameterCount/testcases/doc
-- Unit tests for [[Module:ParameterCount]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_all()
self:preprocess_equals_many('{{#invoke:ParameterCount|all|', '}}', {
{'', '0'},
-- TODO: arguments from parent template cannot be tested here
})
end
return p