Jump to content

Module:Prti-translit/testcases

From Wiktionary, the free dictionary

All tests passed. (refresh)

TextExpectedActual
test:
Script
Passed𐭌𐭆𐭃𐭉𐭆𐭍mzdyznmzdyzn
Passed𐭔𐭇𐭉𐭐𐭅𐭇𐭓šḥypwḥršḥypwḥr
Passed𐭀𐭃𐭉𐭅𐭓𐭐𐭉ʾdywrpyʾdywrpy
Passed𐭂𐭓𐭌𐭀𐭍𐭉𐭀 𐭇𐭔𐭕𐭓grmʾnyʾ ḥštrgrmʾnyʾ ḥštr
Passed𐭍𐭓𐭉𐭎𐭇𐭅nrysḥwnrysḥw
Numerals
Passed𐭝𐭝𐭝𐭝𐭛8484

--[=[
	Unit tests for [[Module:Prti-translit]].
]=]

return require("Module:transliteration module testcases")(
	require('Module:Prti-translit').tr,
	{
		'Script',
		{ '𐭌𐭆𐭃𐭉𐭆𐭍', 'mzdyzn'},
		{ '𐭔𐭇𐭉𐭐𐭅𐭇𐭓', 'šḥypwḥr' },
		{ '𐭀𐭃𐭉𐭅𐭓𐭐𐭉', 'ʾdywrpy' },
		{ '𐭂𐭓𐭌𐭀𐭍𐭉𐭀 𐭇𐭔𐭕𐭓', 'grmʾnyʾ ḥštr' },
		{ '𐭍𐭓𐭉𐭎𐭇𐭅', 'nrysḥw' },
		
		'Numerals',
		{ '𐭝𐭝𐭝𐭝𐭛', '84' },
	},
	'Prti', 'xpr'
)