Module:te-translit/testcases

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

1 of 6 tests failed. (refresh)

TextExpectedActualDiffers at
test_translit_telugu:
Passedఅంకపాళిaṅkapāḷiaṅkapāḷi
Passedపా
Passedళిḷiḷi
Passedనొప్పింౘుnoppinĉunoppinĉu
Passedౙమకట్టుzamakaṭṭuzamakaṭṭu
Failedకౢప్తంkl̥ptaṁkaౢptaṁ2

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

--TO DO
function tests:do_test_translit(telu, roman, xlit)
	self:equals('<span class="Telu" lang="te">]</span>', te_translit.tr(telu, 'te', 'Telu'), roman)
end

function tests:test_translit_telugu()
	self:do_test_translit('అంకపాళి', 'aṅkapāḷi')
	self:do_test_translit('పా', 'pā')
	self:do_test_translit('ళి', 'ḷi')
	self:do_test_translit('నొప్పింౘు', 'noppinĉu')
	self:do_test_translit('ౙమకట్టు', 'zamakaṭṭu')
	self:do_test_translit('కౢప్తం', 'kl̥ptaṁ')

end
 
return tests