Module:sandbox/tru-translit/testcases

Hello, you have come here looking for the meaning of the word Module:sandbox/tru-translit/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:sandbox/tru-translit/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:sandbox/tru-translit/testcases in singular and plural. Everything you need to know about the word Module:sandbox/tru-translit/testcases you have here. The definition of the word Module:sandbox/tru-translit/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:sandbox/tru-translit/testcases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

All tests passed. (refresh)

TextExpectedActualDiffers at
test_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

local tests = require("Module:UnitTests")
local translit = require("Module:sandbox/tru-translit")

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

local function link(word)
	return full_link{ term = word, lang = lang, tr = "-" }
end

function tests:do_test_translit(word, expected)
	self:equals(link(word), translit.tr(word, lang , "Syrc"), expected)
end

function tests:test_translit()
	local 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"}
	}
	
	self:iterate(examples, "do_test_translit")
end
 
return tests