Module:lif-translit/testcases

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

All tests passed. (refresh)

TextExpectedActualDiffers at
test_translit_limbu:
Passedᤏᤡᤱᤄᤢᤶniṅghumniṅghum
Passedᤐᤠ᤺ᤣᤱᤗpōṅlôpōṅlô
Passedᤔᤧᤴᤈᤠᤣᤰᤏᤠᤒᤠmênjoknabamênjoknaba
Passedᤔᤧᤴᤈᤥᤰᤏᤠᤒᤠmênjoknabamênjoknaba
Passedᤕᤠᤰᤌᤢᤱyakthuṅyakthuṅ
Passedᤐᤠᤴpanpan
Passedᤁ᤺ᤰkô̄kkô̄k
Passedᤁᤁ᤻kô̄kkô̄k
Passedᤁ᥄᥅॥kô!?.kô!?.
Passedᤁᤴkônkôn
Passedᤔᤩᤠᤱmyaṅmyaṅ
Passedᤁᤧᤖᤧᤀᤠᤱkêrêaṅkêrêaṅ
Passedᤌᤡᤰᤁᤥthikkothikko
Passedᤏᤠ᤺ᤵᤔᤠnāpmanāpma

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

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

function tests:test_translit_limbu()
	self:check_translit('ᤏᤡᤱᤄᤢᤶ', 'niṅghum')
    self:check_translit('ᤐᤠ᤺ᤣᤱᤗ', 'pōṅlô')
    self:check_translit('ᤔᤧᤴᤈᤠᤣᤰᤏᤠᤒᤠ', 'mênjoknaba')
    self:check_translit('ᤔᤧᤴᤈᤥᤰᤏᤠᤒᤠ', 'mênjoknaba')
	self:check_translit('ᤕᤠᤰᤌᤢᤱ', 'yakthuṅ')
	self:check_translit('ᤐᤠᤴ', 'pan')
	self:check_translit('ᤁ᤺ᤰ', 'kô̄k')
	self:check_translit('ᤁᤁ᤻', 'kô̄k')
	self:check_translit('ᤁ᥄᥅॥', 'kô!?.')
	self:check_translit('ᤁᤴ', 'kôn')
	self:check_translit('ᤔᤩᤠᤱ', 'myaṅ')
	self:check_translit('ᤁᤧᤖᤧᤀᤠᤱ', 'kêrêaṅ')
	self:check_translit('ᤌᤡᤰᤁᤥ', 'thikko')
	self:check_translit('ᤏᤠ᤺ᤵᤔᤠ', 'nāpma')
end
 
return tests