Module:saz-translit/testcases

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

1 of 6 tests failed. (refresh)

TextExpectedActualDiffers at
test_translit_saurashtra:
Passedꢦꢥꢶpanipani
Passedꢮꢵꢔ꣄vāgvāg
Passedꢪꢛ꣄ꢙꢶꢬꢶmañjirimañjiri
Passedꢕꣁꢞꣁghoḍoghoḍo
Passedꢣꢸꢒ꣄ꢒꢬ꣄dukkardukkar
Failedꢭꢴꣁꢒꢠ꣄lhokaṇlhꣁkaṇ3

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

function tests:check_translit(Saur, roman)
	self:equals('<span class="Saur mention" lang="saz">]</span>', saz_translit.tr(Saur, 'saz', 'Saur'), roman)
end

function tests:test_translit_saurashtra()
	self:check_translit('ꢦꢥꢶ', 'pani')
	self:check_translit('ꢮꢵꢔ꣄', 'vāg')
	self:check_translit('ꢪꢛ꣄ꢙꢶꢬꢶ', 'mañjiri')
	self:check_translit('ꢕꣁꢞꣁ', 'ghoḍo')
	self:check_translit('ꢣꢸꢒ꣄ꢒꢬ꣄', 'dukkar')
	self:check_translit('ꢭꢴꣁꢒꢠ꣄','lhokaṇ')
end
 
return tests