Module:Ahom-translit/testcases

Hello, you have come here looking for the meaning of the word Module:Ahom-translit/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:Ahom-translit/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:Ahom-translit/testcases in singular and plural. Everything you need to know about the word Module:Ahom-translit/testcases you have here. The definition of the word Module:Ahom-translit/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:Ahom-translit/testcases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

1 of 2 tests failed. (refresh)

TextExpectedActual
test_translit:
Passed𑜁𑜨𑜧khowkhow
Failed𑜁𑜦𑜡khōkhoo

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

local function tag(text)
	return '<span class="Ahom">' .. text .. '</span>'
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