Module:kv-translit/testcases

local tests = require("Module:UnitTests") local kv_translit = require("Module:kv-translit")

function tests:check_translit(Cyrl, Latn) self:equals((' %s '):format(Cyrl, Cyrl), kv_translit.tr(Cyrl, 'kv', 'Cyrl'), Latn) end

function tests:test_translit local examples = { { "аддзыны", "addźyny" }, { "ассьым", "aśśym" }, { "аттьӧ", "aťťö" }, }	self:iterate(examples, "check_translit") end

return tests