Module:qhv-pron/testcases: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 30: Line 30:
function tests:test_modern()
function tests:test_modern()
local list = {
local list = {
{"drakarys", "dra.ˈka.ɾys"},
{"drakarys", "draˈkaɾys"},
{"valonqar", "va.ˈloɴ.qar"},
{"valonqar", "vaˈloɴqar"},
{"Thoros", "ˈθo.ɾos"},
{"Thoros", "ˈθoɾos"},
{"arakh", "a.ˈɾax"},
{"arakh", "aˈɾax"},
{"ēngos", "ˈeːŋ.ɡos"},
{"ēngos", "ˈeːŋɡos"},
{"amīvindigon", "a.miː.ˈvin.di.ɡon"},
{"amīvindigon", "amiːˈvindiɡon"},
{"ojehiknon", "o.je.ˈhik.non"},
{"ojehiknon", "ojeˈhiknon"},
{"pōja", "ˈpoː.ja"},
{"pōja", "ˈpoːja"},
{"riña", "ˈri.ɲa"},
{"riña", "ˈriɲa"},
{"zirȳla", "zi.ˈɾyː.la"},
{"zirȳla", "ziˈɾyːla"},
{"ipradis", "i.ˈpra.dis"},
{"ipradis", "iˈpradis"},
{"rholagon", "r̥oˈlaɡon"},
{"rholagon", "ṛoˈlaɡon"},
}
}
self:iterate(list, "check_output")
self:iterate(list, "check_output")
Line 48: Line 48:
function tests:test_antique()
function tests:test_antique()
local list = {
local list = {
{"vējōñe", "veː.ˈjoː.ɲe"},
{"vējōñe", "veːˈjoːɲe"},
{"vōljes", "ˈwoː.ʎes"},
{"vōljes", "ˈwoːʎes"},
{"vumbiarzy", "ˈwum.bi͜ar.zy"},
{"vumbiarzy", "ˈwumbi͜azy"},
{"vȳs", "ˈɥyːs"},
{"vȳs", "ˈɥyːs"},
{"ȳgha", "ˈyː.ɣa"},
{"ȳgha", "ˈyːɣa"},
{"vajie", "ˈɥa.ɟi͜e"},
{"vajie", "ˈɥaɟi͜e"},
{"vūjigon", "ˈwuː.ɟi.ɡon"},
{"vūjigon", "ˈwuːɟiɡon"},
{"qrillaodikio", "qril.ˈlao̯.di.ki͜o"},
{"qrillaodikio", "qrilˈlao̯diki͜o"},
}
}
self:iterate(list, "check_output2")
self:iterate(list, "check_output2")