Module:kjp-translit/testcases

local tests = require('Module:UnitTests') local kjp_translit = require('Module:kjp-translit') function tests:check_tr(Mymr, Latn) self:equals((' %s '):format(Mymr, Mymr), kjp_translit.tr(Mymr, 'kjp', 'Mymr'), Latn) end

function tests:test_translit self:check_tr("ကျာ်", "kjài") self:check_tr("ခါန်ႋ", "khāɴ") end

return tests