45,362
edits
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
function tests:check_output(term, expected, noresp) | function tests:check_output(term, expected, noresp) | ||
return tests:equals( | return tests:equals( | ||
linkup(gsub(term,"·","")), | |||
m_IPA.crux(term), | m_IPA.crux(term), | ||
expected, | expected, | ||
Line 49: | Line 49: | ||
{"nedġi", "ˈnɛðxi"}, | {"nedġi", "ˈnɛðxi"}, | ||
{"Teltsġvi", "ˈtʰɛɬt͡sxwi"}, | {"Teltsġvi", "ˈtʰɛɬt͡sxwi"}, | ||
{"uįo·kỏesġen", "ˌujɔˈk⁽ʰ⁾ʊːɛsxɛn | {"uįo·kỏesġen", "ˌujɔˈk⁽ʰ⁾ʊːɛsxɛn"}, | ||
{"hait", "ˈhaɪʔɪ"}, | {"hait", "ˈhaɪʔɪ"}, | ||
{"siaun", "ˈsɪaʊn"}, --made-up word to test triphthongs in the form -C# | {"siaun", "ˈsɪaʊn"}, --made-up word to test triphthongs in the form -C# | ||
{"vihi", "ˈviʔi"}, | {"vihi", "ˈviʔi"}, | ||
{"keika", "ˈcʰeiɡa"}, | |||
{"i·sallusi", "ˌiˈsɑlːusi"}, | |||
{"ỉhhįõ", "ˈihːjɔ̃"}, | |||
{"gam·ġoġuana", "gaˈmxɔxuɑna"}, | |||
{"", ""}, | {"", ""}, | ||
{"", ""}, | {"", ""}, | ||
Line 70: | Line 73: | ||
{"", ""}, | {"", ""}, | ||
{"", ""}, | {"", ""}, | ||
} | } | ||
self:iterate(list, "check_output") | self:iterate(list, "check_output") |