Module:ta-translit/testcases

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

1 of 7 tests failed. (refresh)

TextExpectedActualDiffers at
test_translit_tamil:
Passedஅஃகம்aḥkamaḥkam
Passedகஞ்சாவைkañcāvaikañcāvai
Passedஇடியாப்பம்iṭiyāppamiṭiyāppam
Passedகாடைக்கண்ணிkāṭaikkaṇṇikāṭaikkaṇṇi
Failedரெஃஸ்rexreks3
Passedஅசிஃப்acifacif
Passedஔவைauvaiauvai

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

function tests:check_translit(Taml, roman)
	self:equals('<span class="Taml" lang="ta">]</span>', ta_translit.tr(Taml, 'ta', 'Taml'), roman)
end

function tests:test_translit_tamil()
	self:check_translit('அஃகம்', 'aḥkam')
	self:check_translit('கஞ்சாவை', 'kañcāvai')
	self:check_translit('இடியாப்பம்', 'iṭiyāppam')
	self:check_translit('காடைக்கண்ணி', 'kāṭaikkaṇṇi')
	self:check_translit("ரெஃஸ்","rex")
	self:check_translit("அசிஃப்","acif")
	self:check_translit("ஔவை", "auvai")
	
end
 
return tests