Module:te-translit/testcases

-- Unit tests for Module:te-translit. 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(' ' .. telu .. ' ', 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