Module:Tibt-Deva-translit/testcases

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

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

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

function tests:test_translit_deva local examples = { { 'བྷ', 'भ' }, }	self:iterate(examples, 'do_test_translit') end return tests