Module:Deva-Sind-translit/testcases

Hello, you have come here looking for the meaning of the word Module:Deva-Sind-translit/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:Deva-Sind-translit/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:Deva-Sind-translit/testcases in singular and plural. Everything you need to know about the word Module:Deva-Sind-translit/testcases you have here. The definition of the word Module:Deva-Sind-translit/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:Deva-Sind-translit/testcases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This is the unit-testing module for Module:Deva-Sind-translit.

All tests passed. (refresh)

TextExpectedActual
test_translit_khudawadi:
Passedऐं𑊷𑋟𑊷𑋟
Passedछेड़𑋁𑋥𑋊𑋁𑋥𑋊
Passedभाङो𑋖𑋠𑊿𑋧𑋖𑋠𑊿𑋧
Passedमालु𑋗𑋠𑋚𑋣𑋗𑋠𑋚𑋣
Passedसिंधी𑋝𑋡𑋟𑋐𑋢𑋝𑋡𑋟𑋐𑋢

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

local function tag(text)
	return '<span class="Sind" lang="snd">' .. text .. '</span>'
end

local options = { display = tag }

--TO DO
function tests:do_test_translit(deva, sind, xlit)
	self:equals('<span class="Deva" lang="snd">]</span>', 
		transliterate(deva, 'snd', 'Deva'),
		sind,
		options)
end

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