Module:kru-Deva-translit/testcases

-- Unit tests for Module:kru-Deva-translit. Refresh page to run tests. local tests = require('Module:UnitTests') local kru_translit = require('Module:kru-Deva-translit')

--TO DO function tests:do_test_translit(deva, roman, comment) self:equals(		' ' .. deva .. ' ',		kru_translit.tr(deva, 'kru', 'deva'),		roman,		{ comment = comment }) end

function tests:test_translit_kurukh local examples = { { 'आलार', 'ālār', ''}, {'ए–ड़ा', 'ēṛā',''}, {'ख़ंज्पा','xañjpā',''}, {'निंग्यो','niṅgyo',''}, {'तंबस','taṃbas',''}, {'एम्बस','embas',''}, }	self:iterate(examples, 'do_test_translit')

end return tests