Module:qhv-pron/testcases: Difference between revisions

Jump to navigation Jump to search
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", "amiːˈvindiɡon"},
{"amīvindigon", "a.miː.ˈvin.di.ɡon"},
{"ojehiknon", "ojeˈhiknon"},
{"ojehiknon", "o.je.ˈhik.non"},
{"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ˈpradis"},
{"ipradis", "i.ˈpra.dis"},
}
}
self:iterate(list, "check_output")
self:iterate(list, "check_output")
Line 47: Line 47:
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", "ˈwumbi͜arzy"},
{"vumbiarzy", "ˈwum.bi͜ar.zy"},
{"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̯diki͜o"},
{"qrillaodikio", "qril.ˈlao̯.di.ki͜o"},
}
}
self:iterate(list, "check_output2")
self:iterate(list, "check_output2")

Navigation menu