Module:If any equal/testcases: Difference between revisions
Appearance
Content deleted Content added
create |
(No difference)
|
Revision as of 11:27, 6 January 2025
![]() | This is the test cases page for the module Module:If any equal. Results of the test cases. |
-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local p = require('Module:UnitTests')
-- Example unit test.
function p:test_hello()
self:preprocess_equals('{{#invoke:If any equal|main|a|b|c|d|value=c}}', 'yes')
self:preprocess_equals('{{#invoke:If any equal|main|a|b|c|d|value=r}}', 'no')
self:preprocess_equals('{{#invoke:If any equal|main|a|b|c|d|value=}}', 'no')
end
return p