Module:R from fictional object multi/testcases
Appearance
![]() | This is the test cases page for the module Module:R from fictional object multi. Results of the test cases. |
-- Unit tests for [[Module:R from fictional object multi]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_01_1_redirect_categories_live()
self:preprocess_equals_many('{{#invoke:R from fictional object multi|character|', '}}', {
{"1=Arrow", ""},
{"1=Arrow|2=Flash", ""},
{"1=Arrow|2=Flash|3=Supergirl", ""},
{"1=Arrow|2=Flash|3=Supergirl|4=Batwoman", ""},
{"1=Arrow|2=Flash|3=Supergirl|4=Batwoman|5=Black Lightning", ""},
})
end
function p:test_01_2_redirect_categories_sandbox()
self:preprocess_equals_many('{{#invoke:R from fictional object multi/sandbox|main|test=yes|', '}}', {
{"", ""},
{"", ""},
{"", ""},
{"", ""},
{"", ""},
})
end
return p