Content deleted Content added
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1:
-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local p = require('Module:UnitTests')
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|nounCount|singular=artiklu|plural=artikli}}', '0 artikli')▼
end▼
function p:test_nounCount_0()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_1()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_10()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_12()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_19()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_20()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_31()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_100()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_101()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_103()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_215()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
▲end
function p:test_nounCount_1100_formatNumberEn()
▲ self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|
end
function p:test_nounCount_25211_formatNumberEn()
self:preprocess_equals('{{#invoke:Sandbox/Chrisportelli/sandbox|kwantitaNom|number=25211|singular=artiklu|plural=artikli|formatNumber=true}}', '25,211-il artiklu')
end
|