This is the unit-testing module for Module:mnc-translit.
43 of 43 tests failed. (refresh)
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
ᠠᠨᡳᠶᠠ | aniya | (nil) | N/A | |
ᠠᡤᠠ | aga | (nil) | N/A | |
ᠣᡵᡳᠨ | orin | (nil) | N/A | |
ᠨᠠᡩᠠᠨ | nadan | (nil) | N/A | |
ᠨᠠᡩᠠᠨᠵᡠ | nadanju | (nil) | N/A | |
ᠨᡳᠨᠵᡠ | ninju | (nil) | N/A | |
ᠨᡳᠩᡤᡠᠨ | ninggun | (nil) | N/A | |
ᠨᡳᡴᠠᠨ | nikan | (nil) | N/A | |
ᠪᡳ | bi | (nil) | N/A | |
ᠪᡳᡵᠠ | bira | (nil) | N/A | |
ᠮᠠᠨᠵᡠ | manju | (nil) | N/A | |
ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ | manju gisun | (nil) | N/A | |
ᠮᠣᡵᡳᠨ | morin | (nil) | N/A | |
ᠮᡠᠰᡝ | muse | (nil) | N/A | |
ᠮᡠᡴᡝ | muke | (nil) | N/A | |
ᠮᡳᠩᡤᠠᠨ | minggan | (nil) | N/A | |
ᠰᠣᠯᠣᠨᡨᡠ | solontu | (nil) | N/A | |
ᠰᡠᠨᠵᠠ | sunja | (nil) | N/A | |
ᠰᡠᠰᠠᡳ | susai | (nil) | N/A | |
ᠰᡠᠸᡝ | suwe | (nil) | N/A | |
ᠰᡳ | si | (nil) | N/A | |
ᠴᡝ | ce | (nil) | N/A | |
ᠵᠠᡴᡡᠨ | jakūn | (nil) | N/A | |
ᠵᠠᡴᡡᠨᠵᡠ | jakūnju | (nil) | N/A | |
ᠵᡠᠸᠠᠨ | juwan | (nil) | N/A | |
ᠵᡠᠸᡝ | juwe | (nil) | N/A | |
ᡝᠮᡠ | emu | (nil) | N/A | |
ᡠᠰᡳᡥᠠ | usiha | (nil) | N/A | |
ᡠᠶᡠᠨ | uyun | (nil) | N/A | |
ᡠᠶᡠᠨᠵᡠ | uyunju | (nil) | N/A | |
ᡤᡡᠰᡳᠨ | gūsin | (nil) | N/A | |
ᡤᡳᠰᡠᠨ | gisun | (nil) | N/A | |
ᡥᠠᡥᠠ | haha | (nil) | N/A | |
ᡦᠣᡠ | pou | (nil) | N/A | |
ᡧᠣᠯᠣᠨᡨᡠ | šolontu | (nil) | N/A | |
ᡧᡠᠨ | šun | (nil) | N/A | |
ᡨᠠᠩᡤᡡ | tanggū | (nil) | N/A | |
ᡨᠠᠴᡳᡴᡡ | tacikū | (nil) | N/A | |
ᡩᡝᡥᡳ | dehi | (nil) | N/A | |
ᡩᡠᡳᠨ | duin | (nil) | N/A | |
ᡳ | i | (nil) | N/A | |
ᡳᠯᠠᠨ | ilan | (nil) | N/A | |
ᡳᠯᡥᠠ | ilha | (nil) | N/A |
-- Unit tests for ]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local mnc_translit = require('Module:mnc-translit')
function tests:do_test_translit(mong, roman, xlit)
self:equals('<span class="Mong" lang="mnc">]</span>', mnc_translit.tr(mong, 'mnc', 'Mong'), roman)
end
function tests:test_translit_manchu()
self:do_test_translit('ᠠᠨᡳᠶᠠ', 'aniya')
self:do_test_translit('ᠠᡤᠠ', 'aga')
self:do_test_translit('ᠣᡵᡳᠨ', 'orin')
self:do_test_translit('ᠨᠠᡩᠠᠨ', 'nadan')
self:do_test_translit('ᠨᠠᡩᠠᠨᠵᡠ', 'nadanju')
self:do_test_translit('ᠨᡳᠨᠵᡠ', 'ninju')
self:do_test_translit('ᠨᡳᠩᡤᡠᠨ', 'ninggun')
self:do_test_translit('ᠨᡳᡴᠠᠨ', 'nikan')
self:do_test_translit('ᠪᡳ', 'bi')
self:do_test_translit('ᠪᡳᡵᠠ', 'bira')
self:do_test_translit('ᠮᠠᠨᠵᡠ', 'manju')
self:do_test_translit('ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ', 'manju gisun')
self:do_test_translit('ᠮᠣᡵᡳᠨ', 'morin')
self:do_test_translit('ᠮᡠᠰᡝ', 'muse')
self:do_test_translit('ᠮᡠᡴᡝ', 'muke')
self:do_test_translit('ᠮᡳᠩᡤᠠᠨ', 'minggan')
self:do_test_translit('ᠰᠣᠯᠣᠨᡨᡠ', 'solontu')
self:do_test_translit('ᠰᡠᠨᠵᠠ', 'sunja')
self:do_test_translit('ᠰᡠᠰᠠᡳ', 'susai')
self:do_test_translit('ᠰᡠᠸᡝ', 'suwe')
self:do_test_translit('ᠰᡳ', 'si')
self:do_test_translit('ᠴᡝ', 'ce')
self:do_test_translit('ᠵᠠᡴᡡᠨ', 'jakūn')
self:do_test_translit('ᠵᠠᡴᡡᠨᠵᡠ', 'jakūnju')
self:do_test_translit('ᠵᡠᠸᠠᠨ', 'juwan')
self:do_test_translit('ᠵᡠᠸᡝ', 'juwe')
self:do_test_translit('ᡝᠮᡠ', 'emu')
self:do_test_translit('ᡠᠰᡳᡥᠠ', 'usiha')
self:do_test_translit('ᡠᠶᡠᠨ', 'uyun')
self:do_test_translit('ᡠᠶᡠᠨᠵᡠ', 'uyunju')
self:do_test_translit('ᡤᡡᠰᡳᠨ', 'gūsin')
self:do_test_translit('ᡤᡳᠰᡠᠨ', 'gisun')
self:do_test_translit('ᡥᠠᡥᠠ', 'haha')
self:do_test_translit('ᡦᠣᡠ', 'pou')
self:do_test_translit('ᡧᠣᠯᠣᠨᡨᡠ', 'šolontu')
self:do_test_translit('ᡧᡠᠨ', 'šun')
self:do_test_translit('ᡨᠠᠩᡤᡡ', 'tanggū')
self:do_test_translit('ᡨᠠᠴᡳᡴᡡ', 'tacikū')
self:do_test_translit('ᡩᡝᡥᡳ', 'dehi')
self:do_test_translit('ᡩᡠᡳᠨ', 'duin')
self:do_test_translit('ᡳ', 'i')
self:do_test_translit('ᡳᠯᠠᠨ', 'ilan')
self:do_test_translit('ᡳᠯᡥᠠ', 'ilha')
end
return tests