Module:Vaii-translit/testcases

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

This is the unit-testing module for Module:Vaii-translit.

All tests passed. (refresh)

TextExpectedActualDiffers at
test_translit_vaii:
Passedꕚꕌtahataha
Passed꘎꘎!!
Passedꕘꘌfaafaa
Passedꘖꘌniinii
Passedꘓꘌfeeŋfeeŋ
Passedꔥꘌĩĩĩĩ
Passed..
Passedꔮꘌꕷkpiibokpiibo
Passedꖷꖬ ꕿmusu tomusu to
Passedꖷꖬ ꔬmusu ɓimusu ɓi
Passedꔤꕷꕞibolaibola

-- Unit tests for ]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local vai_translit = require('Module:Vaii-translit')

local function link(word)
	return '<span class="Vaii" lang="vai">]</span>'
end

function tests:do_test_translit(vaii, roman, xlit)
	return self:equals(link(vaii), vai_translit.tr(vaii), roman)
end

function tests:test_translit_vaii()
	local examples = {
		{ 'ꕚꕌ', 'taha' },
		{ '꘎꘎', '!' },
		{ 'ꕘꘌ', 'faa' },
		{ 'ꘖꘌ', 'nii' },	
		{'ꘓꘌ', 'feeŋ'},
		{'ꔥꘌ', 'ĩĩ'},
		{'꘎', '.'},
		{'ꔮꘌꕷ', 'kpiibo'},
		{'ꖷꖬ ꕿ', 'musu to'},
		{'ꖷꖬ ꔬ', 'musu ɓi'},
		{'ꔤꕷꕞ', 'ibola'}
	}
	return self:iterate(examples, "do_test_translit")
end
 
return tests