Module:Deva-Tibt-translit/testcases

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

local function tag(text) return ' ' .. text .. ' ' end

local options = { display = tag } --TO DO function tests:do_test_translit(deva, tibt, xlit) self:equals(' ' .. deva .. ' ',		transliterate(deva, 'xsr', 'Deva'),		tibt,		options) end

function tests:test_translit_tibetan local examples = { { 'ख्योरो', 'ཁྱོརོ' },

}	self:iterate(examples, 'do_test_translit') end return tests