Module:gon-Telu-translit/testcases

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