Module:Tirh-Deva-translit/testcases

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

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

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

function tests:test_translit_deva local examples = { { '𑒂𑒨𑒺', 'आयॆ' }, }	self:iterate(examples, 'do_test_translit') end return tests