Module:Infobox television disambiguation check/testcases
Appearance
![]() | This is the test cases page for the module Module:Infobox television disambiguation check. Results of the test cases. |
-- Example Unit tests for [[Module:Bananas]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_main()
self:preprocess_equals_many('{{#invoke:Infobox television disambiguation check|main|', '}}', {
{''},
{'Lost'},
{'Lost (TV series)'},
{'Lost (TV program)'},
{'Lost (TV programme)'},
{'Lost (TV film)'},
{'Lost (film)'},
{'Lost (miniseries)'},
{'Lost (serial)'},
{'Lost (game show)'},
{'Lost (talk show)'},
{'Lost (web series)'},
{'The (206)'},
{'Cinderella (Apakah Cinta Hanyalah Mimpi?)'},
{'How to Live with Your Parents (For the Rest of Your Life)'},
{'I (Almost) Got Away With It'},
{'Monty Python: Almost the Truth (Lawyers Cut)'},
{'Randall and Hopkirk (Deceased)'}
})
end
function p:test_sandbox_main()
self:preprocess_equals_many('{{#invoke:Infobox television disambiguation check/sandbox|main|', '}}', {
{''},
{'Lost'},
{'Lost (TV series)'},
{'Lost (TV program)'},
{'Lost (TV programme)'},
{'Lost (TV film)'},
{'Lost (film)'},
{'Lost (miniseries)'},
{'Lost (serial)'},
{'Lost (game show)'},
{'Lost (talk show)'},
{'Lost (web series)'},
{'The (206)'},
{'Cinderella (Apakah Cinta Hanyalah Mimpi?)'},
{'How to Live with Your Parents (For the Rest of Your Life)'},
{'I (Almost) Got Away With It'},
{'Monty Python: Almost the Truth (Lawyers Cut)'},
{'Randall and Hopkirk (Deceased)'}
})
end
return p