Module:siwa-pron/testcases: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 14: Line 14:
noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term),
noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term),
m_IPA.crux(term, false, false),
m_IPA.crux(term, false, false),
expected,
{ display = IPA_style }
)
end
function tests:check_output_e(term, expected, noresp)
return tests:equals(
noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term),
m_IPA.crux(term, true, false),
expected,
{ display = IPA_style }
)
end
function tests:check_output_w(term, expected, noresp)
return tests:equals(
noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term),
m_IPA.crux(term, false, true),
expected,
expected,
{ display = IPA_style }
{ display = IPA_style }