Jump to content

Module:tru-translit/testcases

From Wiktionary, the free dictionary

This is the unit-testing module for Module:tru-translit.

All tests passed. (refresh)

TextExpectedActualDiffers at
testcases for tr function in Module:tru-translit:
Passedܐܰܕܡܐadmoadmo
Passedܐܰܒܪܐabroabro
Passedܐܰܕ݂ܢܐaḏnoaḏno
Passedܐܷܫܬܐëštoëšto
Passedܫܰܘܥܐšawcošawco
Passedܬܡܰܢܝܐtmanyotmanyo
Passedܬܷܫܥܐtëšcotëšco
Passedܚܰܡܫܐḥamšoḥamšo
Passedܐܰܪܒܥܐarbcoarbco
Passedܬܠܳܬ݂ܐtloṯotloṯo
Passedܬܪܶܐtretre
Passedܚܰܐḥaḥa
Passedܬܡܝܢܳܝܐtminoyotminoyo
Passedܕܰܬ ܬܡܰܢܝܐdat tmanyodat tmanyo
Passedܬܡܳܢܰܥܣܰܪtmonacsartmonacsar
Passedܐܰܕܥܰܨܪܝـܝܶܐadcaṣriyeadcaṣriye
Passedܐܰܕܠܰܠܝܐadlalyoadlalyo
Passedܐܰܕܨܰܦܪܐadṣafroadṣafro
Passedܐܰܕܝܰܘܡܰܐadyawmaadyawma
Passedܐܰܬ݂ܡܷܠaṯmëlaṯmël
Passedܐܰܬ݂ܝܳܢܐaṯyonoaṯyono
Passedܐܰܙܙܝazziazzi
Passedܒܰܛܝܠܶܐ ܢܶܐbaṭile nebaṭile ne
Passedܒܢܳܝܐbnoyobnoyo
Passedܕܰܪܓ݂ܶܐdarġedarġe
Passedܕܘܥܪܝܢܰܐducrinaducrina
Passedܕܘܪܳܫܶܐ ܓܘܫܡܳܢܳܝܶܐduroše gušmonoyeduroše gušmonoye
Passedܦܰܠܩܐfalqofalqo
Passedܠܰܫܰܢlašanlašan
Passedܡܶܐ ܙܰܒܢܐ ܠܙܰܒܢܐme zabno lzabnome zabno lzabno
Passedܩܷܛܪܐqëṭroqëṭro
Passedܣܚܳܝܐsḥoyosḥoyo
Passedܬܰܡܐtamotamo
Passedܘܰܥܕܐwacdowacdo
Passedܙܰܒܢܐzabnozabno
Passedܢܚܝܪܐnḥironḥiro
Passedܢܳܫܐnošonošo
Passedܪܝܫܐrišorišo
Passedܫܰܒܬ݂ܐšabṯošabṯo
Passedܐܘܥܕܐucdoucdo
Passedܘܳܠܝܬ݂ܐwoliṯowoliṯo
Passedܙܥܘܪܐzcurozcuro
Passedܙܥܘܪܬܐzcurtozcurto
Passedܕܰܫܷܫܬܐdašëštodašëšto
Passedܥܷܢܘܶܐcënwecënwe
Passedܨܷܪܬܐṣërtoṣërto
Passedܘܰܟ݂ܰܡwaxamwaxam
Passedܙܷܒܕܐzëbdozëbdo
Passedܐܰܝ ܝܰܘܡܰܢܝay yawmaniay yawmani
Passedܫ̰ܰܢܛܰܐčanṭačanṭa
Passedܙ̰ܱܒܰܫܶܐžäbašežäbaše
Passedܙܱ̰ܒܰܫܶܐžäbašežäbaše
Passedܦ݁ܠܰܢplanplan
Passedܒ݂ܝܠܠܰܐvillavilla
Passedܐܳܢܳܐonoono
Passedܗܰܬܘhatuhatu
Passedܐܝـܝܰܪiyariyar
Passedܐܰܘawaw
Passed”ܝܐ.““yo.”“yo.”
Passedܒܷܬ݂ܷܪbëṯërbëṯër
Passedܒܷܬܷ݂ܪbëṯërbëṯër
Passedܐܰܘܪܘܦ݁ܰܐawrupaawrupa
Passedܐܰܘܪܘܦܰ݁ܐawrupaawrupa
Passed(ܣܘܪܝܳܝܐ)(suryoyo)(suryoyo)
Passedܣܘܪܝܳܝܐ܆suryoyo;suryoyo;
Passedܡܳܪܝmormor
Passedܕܡܳܪܝdmordmor
Passedܛܒܷܥܥܶܗṭbëcehṭbëceh
Passedܦܬܷܚܚܶܗftëḥehftëḥeh
Passedܘܡܰܠܘܰܫܫܶܗumalwašehumalwašeh
Passedܝܘܠܦܳܢܰܬ݂ܬ݂ܶܗyulfonaṯehyulfonaṯeh
Passedܡܰܠܰܟ݂ܟ݂ܶܗmalaxehmalaxeh
Passedܡ̈ܶܠܐmelomelo

local lang = require("Module:languages").getByCode("tru")

local function link(word) return  require("Module:links").full_link {term = word, lang = lang, tr = "-"} end

return require("Module:transliteration module testcases") {
	module = "tru-translit",
    examples = {
		{ "ܐܰܕܡܐ", "admo" },
		{ "ܐܰܒܪܐ", "abro" },
		{ "ܐܰܕ݂ܢܐ", "aḏno" },
		{ "ܐܷܫܬܐ", "ëšto"},
		{ "ܫܰܘܥܐ", "šawco"},
		{ "ܬܡܰܢܝܐ", "tmanyo"},
		{ "ܬܷܫܥܐ", "tëšco"},
		{ "ܚܰܡܫܐ", "ḥamšo"},
		{ "ܐܰܪܒܥܐ", "arbco"},
		{ "ܬܠܳܬ݂ܐ", "tloṯo"},
		{ "ܬܪܶܐ", "tre"},
		{ "ܚܰܐ", "ḥa"},
		{ "ܬܡܝܢܳܝܐ", "tminoyo"},
		{ "ܕܰܬ ܬܡܰܢܝܐ", "dat tmanyo"},
		{ "ܬܡܳܢܰܥܣܰܪ", "tmonacsar"},
		{ "ܐܰܕܥܰܨܪܝـܝܶܐ", "adcaṣriye"},
		{ "ܐܰܕܠܰܠܝܐ", "adlalyo"},
		{ "ܐܰܕܨܰܦܪܐ", "adṣafro"},
		{ "ܐܰܕܝܰܘܡܰܐ", "adyawma"},
		{ "ܐܰܬ݂ܡܷܠ", "aṯmël"},
		{ "ܐܰܬ݂ܝܳܢܐ", "aṯyono"},
		{ "ܐܰܙܙܝ", "azzi"},
		{ "ܒܰܛܝܠܶܐ ܢܶܐ", "baṭile ne"},
		{ "ܒܢܳܝܐ", "bnoyo"},
		{ "ܕܰܪܓ݂ܶܐ", "darġe"},
		{ "ܕܘܥܪܝܢܰܐ", "ducrina" },
		{ "ܕܘܪܳܫܶܐ ܓܘܫܡܳܢܳܝܶܐ", "duroše gušmonoye" },
		{ "ܦܰܠܩܐ", "falqo" },
		{ "ܠܰܫܰܢ", "lašan"},
		{ "ܡܶܐ ܙܰܒܢܐ ܠܙܰܒܢܐ", "me zabno lzabno"},
		{ "ܩܷܛܪܐ", "qëṭro"},
		{ "ܣܚܳܝܐ", "sḥoyo"},
		{ "ܬܰܡܐ", "tamo"},
		{ "ܘܰܥܕܐ", "wacdo"},
		{ "ܙܰܒܢܐ", "zabno"},
		{ "ܢܚܝܪܐ", "nḥiro"},
		{ "ܢܳܫܐ", "nošo"},
		{ "ܪܝܫܐ", "rišo"},
		{ "ܫܰܒܬ݂ܐ", "šabṯo"},
		{ "ܐܘܥܕܐ", "ucdo"},
		{ "ܘܳܠܝܬ݂ܐ", "woliṯo"},
		{ "ܙܥܘܪܐ", "zcuro"},
		{ "ܙܥܘܪܬܐ", "zcurto"},
		{ "ܕܰܫܷܫܬܐ", "dašëšto"},
		{ "ܥܷܢܘܶܐ", "cënwe"},
		{ "ܨܷܪܬܐ", "ṣërto"},
		{ "ܘܰܟ݂ܰܡ", "waxam"},
		{ "ܙܷܒܕܐ", "zëbdo"},
		{ "ܐܰܝ ܝܰܘܡܰܢܝ", "ay yawmani"},
		{ "ܫ̰ܰܢܛܰܐ", "čanṭa"},
		{ "ܙ̰ܱܒܰܫܶܐ", "žäbaše"}, -- COMBINING_TILDE_BELOW then PTHAHA
		{ "ܙܱ̰ܒܰܫܶܐ", "žäbaše"}, -- PTHAHA then COMBINING_TILDE_BELOW
		{ "ܦ݁ܠܰܢ", "plan"},
		{ "ܒ݂ܝܠܠܰܐ", "villa"},
		{ "ܐܳܢܳܐ", "ono"},
		{ "ܗܰܬܘ", "hatu"},
		{ "ܐܝـܝܰܪ", "iyar"},
		{ "ܐܰܘ", "aw"},
		{ '”ܝܐ.“', '“yo.”'},
		{ "ܒܷܬ݂ܷܪ", 'bëṯër'}, -- RUKKAKHA then RBASA
		{ "ܒܷܬܷ݂ܪ", 'bëṯër'}, -- RBASA then RUKKAKHA
		{ "ܐܰܘܪܘܦ݁ܰܐ", 'awrupa'}, -- QUSHSHAYA then PTHAHA
		{ "ܐܰܘܪܘܦܰ݁ܐ", 'awrupa'}, -- PTHAHA then QUSHSHAYA
		{ '(ܣܘܪܝܳܝܐ)', '(suryoyo)'},
		{ 'ܣܘܪܝܳܝܐ܆', 'suryoyo;'},
		{ 'ܡܳܪܝ', 'mor'},
		{ 'ܕܡܳܪܝ', 'dmor'},
		{'ܛܒܷܥܥܶܗ', 'ṭbëceh'},
		{'ܦܬܷܚܚܶܗ', 'ftëḥeh'},
		{'ܘܡܰܠܘܰܫܫܶܗ', 'umalwašeh'},
		{'ܝܘܠܦܳܢܰܬ݂ܬ݂ܶܗ', 'yulfonaṯeh'},
		{'ܡܰܠܰܟ݂ܟ݂ܶܗ', 'malaxeh'},
	    {'ܡ̈ܶܠܐ', 'melo'},
	},
    sc = "Syrc", lang = "tru", func_with_link = link
}