Content deleted Content added
Added another testcase (for non-Cyrillic input), updated expected results per recent change in template |
m typo |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1:
local p = require('Module:UnitTests')
function p:
self:preprocess_equals('{{#invoke:
end
function p:
self:preprocess_equals('{{#invoke:
end
function p:
self:preprocess_equals('{{#invoke:
end
function p:
self:preprocess_equals('{{#invoke:
end
function p:test_cyr2lat()
self:preprocess_equals('{{#invoke:lang-hbs/sandbox|cyr2lat|Краљевина Југославија}}', '{{#invoke:lang-hbs|cyr2lat|Краљевина Југославија}}')
end
function p:test_lat2cyr()
self:preprocess_equals('{{#invoke:lang-hbs/sandbox|lat2cyr|Kraljevina Jugoslavija}}', '{{#invoke:lang-hbs|lat2cyr|Kraljevina Jugoslavija}}')
end
|