All tests passed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
atáɓa | ataɓâ | ataɓâ | |
maza | mazâ | mazâ | |
bankára | bankarâ | bankarâ | |
déera | dɛɛrâ | dɛɛrâ | |
dongára | dɔngarâ | dɔngarâ | |
ooní | ɔɔnɛ̂ | ɔɔnɛ̂ | |
c’íilo | c’iilɔ̂ | c’iilɔ̂ | |
qúɲa | quɲâ | quɲâ | |
mirjá | mirjâ | mirjâ | |
bíiri | biirɛ̂ | biirɛ̂ | |
ɲoqóle | ɲɔqɔlɛ̂ | ɲɔqɔlɛ̂ | |
goití | goitɛ̂ | goitɛ̂ | |
shekíni | shekinɛ̂ | shekinɛ̂ | |
zóbo | zɔbɔ̂ | zɔbɔ̂ | |
meté | mɛtɛ̂ | mɛtɛ̂ |
local m_nom = require("Module:amf-nominal")
local m_util = require("Module:amf-utilities")
local syl = m_util.syllabify
local comb = m_util.combine
local p = require('Module:UnitTests')
function p:check_make_masculine(a,b)
self:equals(
a,
comb(m_nom.make_masculine(syl(a))),
b
)
end
function p:test_make_masculine()
self:iterate({
{"atáɓa", "ataɓâ"},
{"maza", "mazâ"},
{"bankára", "bankarâ"},
{"déera", "dɛɛrâ"},
{"dongára", "dɔngarâ"},
{"ooní", "ɔɔnɛ̂"},
{"c’íilo", "c’iilɔ̂"},
{"qúɲa", "quɲâ"},
{"mirjá", "mirjâ"},
{"bíiri", "biirɛ̂"},
{"ɲoqóle", "ɲɔqɔlɛ̂"},
{"goití", "goitɛ̂"},
{"shekíni", "shekinɛ̂"},
{"zóbo", "zɔbɔ̂"},
{"meté", "mɛtɛ̂"},
}, "check_make_masculine")
end
return p