Module:ybi-translit/testcases

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

All tests passed. (refresh)

TextExpectedActualDiffers atComments
test_translit_yamphu:
Passedलेॽआप्मे़le'āpmêle'āpmê
Passedअसे़ॽए़asê'êasê'ê

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

function tests:do_test_translit(deva, roman, comment)
	self:equals('<span class="Deva" lang="ybi">]</span>', ybi_translit.tr(deva, 'ybi', 'Deva'), roman, { comment = comment })
end

function tests:test_translit_yamphu()
	self:do_test_translit('लेॽआप्मे़', "le'āpmê")
	self:do_test_translit('असे़ॽए़', "asê'ê")
end
 
return tests