Module:qay-pron/testcases: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 8: Line 8:
local function link(term)
local function link(term)
return '[[Contionary:' .. term .. "#Ayeri|" .. term .. ']]'
return '[[Contionary:' .. term .. "#Ayeri|" .. term .. ']]'
end
function tests:check_phonemic(term, expected)
return tests:equals(
link(term),
m_IPA.phonemic(term),
expected,
{ display = IPA_style, show_difference = true}
)
end
end


Line 22: Line 13:
return tests:equals(
return tests:equals(
link(term),
link(term),
m_IPA.phonetic(term),
m_IPA.crux(term),
expected,
expected,
{ display = IPA_style, show_difference = true}
{ display = IPA_style, show_difference = true}

Navigation menu