Module:anui-pron/testcases: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10: Line 10:
end
end


function tests:check_output(term, expected)
function tests:check_output(term, expected, comment)
return tests:equals(
return tests:equals(
bold(term),
bold(term),
m_IPA.crux(term),
m_IPA.crux(term),
expected,
expected,
{ display = IPA_style, show_difference = true}
{ display = IPA_style, show_difference = true, comment = comment}
)
)
end
end
Line 27: Line 27:
{"a̰ʼa", "a̰ʔa˦"},
{"a̰ʼa", "a̰ʔa˦"},
{"a̰ʼã", "ã̰ʔã˥˦"},
{"a̰ʼã", "ã̰ʔã˥˦"},
{"ùu", "ṵː˨"}, -- false negative
{"ùu", "ṵː˨", "false negative"},
{"um", "m̩ː˥˦"},
{"um", "m̩ː˥˦"},
{"ṵm", "m̰̍ː˧"},
{"ṵm", "m̰̍ː˧"},