Module:tt-translit/sandbox/testcases

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

1 of 3 tests failed. (refresh)

TextExpectedActual
test_translit:
Passedтәэсирtä'sirtä'sir
Failedиярченiyärçeniyarçen
Passedууыuwuwıuwuwı

local tests = require("Module:UnitTests")
local tt_translit = require("Module:tt-translit")

function tests:check_translit(Cyrl, Latn)
	self:equals(('<span lang="tt" class="Cyrl mention">]</span>'):format(Cyrl, Cyrl), tt_translit.tr(Cyrl, 'tt', 'Cyrl'), Latn)
end

function tests:test_translit()
	local examples = {
		{ "тәэсир", "tə'sir" },
		{ "иярчен", "iyərçen" },
		{ "ууы", "uwuwı" },

	}
	self:iterate(examples, "check_translit")
end

return tests