Module:tcy-Tutg-translit/testcases

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

All tests passed. (refresh)

TextExpectedActualDiffers atComments
test_translit_tulu:
Passed𑎦𑎮𑎳pavaḷapavaḷa
Passed𑎦𑏌𑎙𑎹pañjipañji
Passed𑎒𑎞𑎭𑏎kaḍalŭkaḍalŭvirama ŭ
Passed𑎀𑎞𑎒𑏏𑎒𑏎aḍakkŭaḍakkŭvirama ŭ and regular virama

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

--TO DO
function tests:do_test_translit(tutg, roman, comment)
	self:equals(
		'<span class="Tutg" lang="tcy">]</span>',
		tcy_translit.tr(tutg, 'tcy', 'tutg'),
		roman,
		{ comment = comment })
end

function tests:test_translit_tulu() 
	local examples = {
		{ '𑎦𑎮𑎳', 'pavaḷa' },
		{ '𑎦𑏌𑎙𑎹', 'pañji' },
		{ '𑎒𑎞𑎭𑏎', 'kaḍalŭ', 'virama ŭ'},
        { '𑎀𑎞𑎒𑏏𑎒𑏎', 'aḍakkŭ', 'virama ŭ and regular virama'},
	}
	
	self:iterate(examples, 'do_test_translit')

end
 
return tests