Module:or-translit/testcases

-- Unit tests for Module:or-translit. Refresh page to run tests. local tests = require('Module:UnitTests') local or_translit = require('Module:or-translit')

--TO DO function tests:do_test_translit(orya, roman, xlit) self:equals(' ' .. orya .. ' ', or_translit.tr(orya, 'or', 'Orya'), roman) end

function tests:test_translit_oriya self:do_test_translit('ଓଡ଼ିଆ', 'oṛia') self:do_test_translit('ଓଡ଼ିଶା', 'oṛiśa') self:do_test_translit('ଚାରି', 'cari') self:do_test_translit('ଏକ', 'ekô') self:do_test_translit('ପାଞ୍ଚ', 'pañcô') end return tests