Module:btx-translit/testcases

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

--TO DO function tests:do_test_translit(karo, roman, xlit) self:equals(' ' .. karo .. ' ', btx_translit.tr(karo, 'btx', 'Batk'), roman) end

function tests:test_translit_btx self:do_test_translit('ᯀᯂᯬ', '(h)aku') self:do_test_translit('ᯀᯝᯫᯉ᯳', '(h)angin') end return tests