Module:gon-Telu-translit/testcases

Hello, you have come here looking for the meaning of the word Module:gon-Telu-translit/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:gon-Telu-translit/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:gon-Telu-translit/testcases in singular and plural. Everything you need to know about the word Module:gon-Telu-translit/testcases you have here. The definition of the word Module:gon-Telu-translit/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:gon-Telu-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:gon-Telu-translit.

3 of 6 tests failed. (refresh)

TextExpectedActualDiffers atComments
test_translit_gondi:
Failedకోయ్‌లల్kōylalkōy‌lal4ZWNJ
Failedఅంకపాళిaṅkapāḷi aṅkapāḷi9
Passedపా
Passedళిḷiḷi
Passedనొప్పింౘుnoppinĉunoppinĉuaffricate ౘ /t͡s
Failedౙమకట్టుzamakaṭṭuẑamakaṭṭu1affricate ౙ /d͡z/

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

--TO DO
function tests:do_test_translit(telu, roman, comment)
	self:equals(
		'<span class="Telu" lang="gon">]</span>',
		gon_translit.tr(telu, 'gon', 'Telu'),
		roman,
		{ comment = comment })
end

function tests:test_translit_gondi() 
	local examples = {
		{ 'కోయ్‌లల్', 'kōylal', 'ZWNJ '},
		{ 'అంకపాళి', 'aṅkapāḷi '},
		{ 'పా', 'pā' },
		{ 'ళి', 'ḷi' },
		{'నొప్పింౘు', 'noppinĉu', 'affricate ౘ /t͡s'},
		{'ౙమకట్టు', 'zamakaṭṭu', 'affricate ౙ /d͡z/' },
	}
	
	self:iterate(examples, 'do_test_translit')

end
 
return tests