Module:kv-translit/testcases

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

2 of 3 tests failed. (refresh)

TextExpectedActual
test_translit:
Passedаддзыныaddźynyaddźyny
Failedассьымaśśymasśym
Failedаттьӧaťťöatťö

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

function tests:check_translit(Cyrl, Latn)
	self:equals(('<span lang="kv" class="Cyrl mention">]</span>'):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