Module:Deva-Sind-translit/testcases

local tests = require('Module:UnitTests') local transliterate = require('Module:Deva-Sind-translit').tr

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

local options = { display = tag }

--TO DO function tests:do_test_translit(deva, sind, xlit) self:equals(' ' .. deva .. ' ', 		transliterate(deva, 'snd', 'Deva'),		sind,		options) end

function tests:test_translit_khudawadi local examples = { { 'ऐं', '𑊷𑋟' }, { 'छेड़', '𑋁𑋥𑋊' }, { 'भाङो', '𑋖𑋠𑊿𑋧' }, { 'मालु', '𑋗𑋠𑋚𑋣' }, { 'सिंधी', '𑋝𑋡𑋟𑋐𑋢' }, }	self:iterate(examples, 'do_test_translit') end return tests