Module:Ahom-translit/testcases

local tests = require("Module:UnitTests") local transliterate = require("Module:Ahom-translit").tr

local function tag(text) return ' ' .. text .. ' ' end

function tests:check(example, expected) return self:equals(		tag(example),		expected,		transliterate(example)	) end

function tests:test_translit local examples = { { "𑜁𑜨𑜧", "khow" }, { "𑜁𑜦𑜡", "khoo" }, }	tests:iterate(examples, "check") end

return tests