Module:new-Newa-translit/testcases

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

All tests passed. (refresh)

TextExpectedActualDiffers at
test_translit_newari:
Passed𑐣𑐾𑐥𑐵𑐮 𑐨𑐵𑐲𑐵nepāla bhāṣānepāla bhāṣā
Passed𑐳𑑂𑐎𑐩𑑂𑐨skambhaskambha

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

--TO DO
function tests:do_test_translit(sans, roman, xlit)
	return self:equals('<span class="Newa" lang="new">]</span>', new_translit.tr(sans, 'new', 'Newa'), roman)
end

function tests:test_translit_newari()
	local examples = {
		{ '𑐣𑐾𑐥𑐵𑐮 𑐨𑐵𑐲𑐵', 'nepāla bhāṣā' },
		{ '𑐳𑑂𑐎𑐩𑑂𑐨', 'skambha' },
	}
	return self:iterate(examples, "do_test_translit")
end
 
return tests