Module:evn-translit/testcases

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

All tests passed. (refresh)

TextExpectedActual
test_translit:
Passedтэкэ̄ты̄мӣtəkə̄tīmītəkə̄tīmī
Passedтэгэенtəgəjentəgəjen
Passedтыеденэtijeʒenətijeʒenə
Passedнадан-дя̄гӣnadan-ʒāgīnadan-ʒāgī
Passedмушняла̄бӯнmuşņalābūnmuşņalābūn
Passedсаӈняпчамӣsaŋņapçamīsaŋņapçamī
Passedэӣмкӯнəjīmkūnəjīmkūn
Passedэюргэəjurgəəjurgə
Passedдё̄нчамӣʒōnçamīʒōnçamī
Passedтырганӣtirgaņītirgaņī

local tests = require("Module:UnitTests")
local evn_translit = require("Module:evn-translit")

local compose = mw.ustring.toNFC

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

function tests:test_translit()
	self:check_translit("тэкэ̄ты̄мӣ", "təkə̄tīmī")
	self:check_translit("тэгэен", "təgəjen")
	self:check_translit("тыеденэ", "tijeʒenə")
	self:check_translit("надан-дя̄гӣ", "nadan-ʒāgī")
	self:check_translit("мушняла̄бӯн", "muşņalābūn")
	self:check_translit("саӈняпчамӣ", "saŋņapçamī")
	self:check_translit("эӣмкӯн", "əjīmkūn")
	self:check_translit("эюргэ", "əjurgə")
	self:check_translit("дё̄нчамӣ", "ʒōnçamī")
	self:check_translit("тырганӣ", "tirgaņī")
	
	
end

return tests