Module:qhv-pron/testcases: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
end | end | ||
local function linkup(text) | local function linkup(text, noresp) | ||
return "[[Contionary:" .. text .. "#High Valyrian|" .. text .. "]]" | return "[[Contionary:" .. text .. "#High Valyrian|" .. text .. "]]" | ||
end | end | ||
function tests:check_output(term, expected) | function tests:check_output(term, expected, noresp) | ||
return tests:equals( | return tests:equals( | ||
linkup(term), | noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term), | ||
m_IPA.crux(term), | m_IPA.crux(term), | ||
expected, | expected, | ||
| Line 33: | Line 33: | ||
{"valonqar", "vaˈloɴqar"}, | {"valonqar", "vaˈloɴqar"}, | ||
{"Thoros", "ˈθoɾos"}, | {"Thoros", "ˈθoɾos"}, | ||
{" | {"arákh", "aˈɾáx", "arakh"}, | ||
{"ēngos", "ˈeːŋɡos"}, | {"ēngos", "ˈeːŋɡos"}, | ||
{"amīvindigon", "amiːˈvindiɡon"}, | {"amīvindigon", "amiːˈvindiɡon"}, | ||
| Line 50: | Line 50: | ||
{"vējōñe", "veːˈjoːɲe"}, | {"vējōñe", "veːˈjoːɲe"}, | ||
{"vōljes", "ˈwoːʎes"}, | {"vōljes", "ˈwoːʎes"}, | ||
{"vumbiarzy", " | {"vumbiarzy", "wumˈbi͜arzy"}, | ||
{"vȳs", " | {"vȳs", "ɥyːs"}, | ||
{"ȳgha", "ˈyːɣa"}, | {"ȳgha", "ˈyːɣa"}, | ||
{"vajie", "ˈɥaɟi͜e"}, | {"vajie", "ˈɥaɟi͜e"}, | ||