Module:Sind-translit/testcases

Hello, you have come here looking for the meaning of the word Module:Sind-translit/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:Sind-translit/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:Sind-translit/testcases in singular and plural. Everything you need to know about the word Module:Sind-translit/testcases you have here. The definition of the word Module:Sind-translit/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule: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:Sind-translit.

All tests passed. (refresh)

TextExpectedActualDiffers at
test_translit_sind:
Passed𑋝𑋡𑋟𑋐𑋢sindhīsindhī
Passed𑋝𑋡𑋑𑋪𑋐𑋢sindhīsindhī
Passed𑋖𑋠𑊿𑋧bhāṅobhāṅo
Passed𑋗𑋠𑋚𑋣mālumālu
Passed𑋂𑋥𑊺𑋧jekojeko
Passed𑋗𑋥𑋟mẽmẽ
Passed𑊷𑋟a͠ia͠i
Passed𑊻𑋩𑋔𑋙xabaraxabara

-- Unit tests for ]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local sind_translit = require('Module:Sind-translit')

--TO DO
function tests:do_test_translit(sind, roman, xlit)
	self:equals('<span class="Sind" lang="sd">]</span>', sind_translit.tr(sind, 'sd', 'Sind'), roman)
end

function tests:test_translit_sind()
	local examples = {
		{ '𑋝𑋡𑋟𑋐𑋢', 'sindhī' },
		{ '𑋝𑋡𑋑𑋪𑋐𑋢', 'sindhī' },
        { '𑋖𑋠𑊿𑋧', 'bhāṅo' },
        { '𑋗𑋠𑋚𑋣', 'mālu' },
        { '𑋂𑋥𑊺𑋧', 'jeko' },
        { '𑋗𑋥𑋟', 'mẽ' },
        { '𑊷𑋟', 'a͠i' },
        { '𑊻𑋩𑋔𑋙', 'xabara' },
	}
	self:iterate(examples, 'do_test_translit')
end
 
return tests