Module:Cher-translit/testcases

From Wiktionary, the free dictionary
Jump to navigation Jump to search

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

All tests passed. (refresh)

TextExpectedActualDiffers at
test:
test_translit_to_lat
PassedᏀᎾnah'nanah'na
PassedᎾᎿnahnanahna
PassedᏣᎳᎩtsalagitsalagi
PassedᎠᏎᏃasenoaseno
PassedᎠᏍᎡᏃas'enoas'eno
PassedᎠꮒꮝꮖꮒanisquanianisquani
PassedᎨᏒᎢgesvigesvi
PassedᎨᏍᎥᎢges'viges'vi
PassedᎾᏍᎢᏯnas'iyanas'iya
PassedᎤᏂᏰᏍᎢᏱuniyes'iyiuniyes'iyi
PassedᎢᏣᎵᏍᎠᏁᏗitsalis'anediitsalis'anedi
PassedᎤᎵᎩᏳᏍᎠᏅᏁuligiyus'anvneuligiyus'anvne
PassedᎠᎸᏇᏂᏯalvqueniyaalvqueniya
PassedᎠᎾᎳᏍᎩᏍᎬanalasgisgvanalasgisgv
PassedᎦᎸᏉᏗᎠᏓᏅᏙgalvquodiadanvdogalvquodiadanvdo

-- Unit tests for [[Module:Cher-translit]]. Refresh page to run tests.
return require("Module:transliteration module testcases")(
	require('Module:Cher-translit').tr,
	{
		"test_translit_to_lat",
		{ 'ᏀᎾ', 'nah\'na' },
		{ 'ᎾᎿ', 'nahna' },
		{ 'ᏣᎳᎩ', 'tsalagi' },
		{ 'ᎠᏎᏃ', 'aseno' },
		{ 'ᎠᏍᎡᏃ', 'as\'eno' },
		{ 'Ꭰꮒꮝꮖꮒ', 'anisquani' },
		{ 'ᎨᏒᎢ', 'gesvi' },
		{ 'ᎨᏍᎥᎢ', 'ges\'vi' },
		{ 'ᎾᏍᎢᏯ', 'nas\'iya' },
		{ 'ᎤᏂᏰᏍᎢᏱ', 'uniyes\'iyi' },
		{ 'ᎢᏣᎵᏍᎠᏁᏗ', 'itsalis\'anedi' },
		{ 'ᎤᎵᎩᏳᏍᎠᏅᏁ', 'uligiyus\'anvne' },
		{ 'ᎠᎸᏇᏂᏯ', 'alvqueniya' },
		{ 'ᎠᎾᎳᏍᎩᏍᎬ', 'analasgisgv' },
		{ 'ᎦᎸᏉᏗᎠᏓᏅᏙ', 'galvquodiadanvdo' },
	},
	"Cher", "chr"
)