local tests = require("Module:UnitTests")
local ig_conj = require("Module:ig-conj")
function tests:test_infinitive()
self:equals("-kpọ́", ig_conj.infinitive("kpọ́"), "ị́kpọ̄")
self:equals("-sá", ig_conj.infinitive("sá"), "ị́sā")
self:equals("-dà", ig_conj.infinitive("dà"), "ị́dà")
self:equals("-kpé", ig_conj.infinitive("kpé"), "íkpē")
self:equals("-bè", ig_conj.infinitive("bè"), "íbè")
self:equals("-chètá", ig_conj.infinitive("chètá"), "íchètà")
self:equals("-kwádó", ig_conj.infinitive("kwádó"), "ị́kwādó")
self:equals("-hàpụ̀", ig_conj.infinitive("hàpụ̀"), "ị́hāpụ̀")
self:equals("-gbásà", ig_conj.infinitive("gbásà"), "ị́gbāsà")
end
function tests:test_participle()
self:equals("-kpọ́", ig_conj.participle("kpọ́"), "àkpọ́")
self:equals("-sá", ig_conj.participle("sá"), "àsá")
self:equals("-dà", ig_conj.participle("dà"), "ádà")
self:equals("-kpé", ig_conj.participle("kpé"), "èkpé")
self:equals("-bè", ig_conj.participle("bè"), "ébè")
self:equals("-chètá", ig_conj.participle("chètá"), "échètá")
self:equals("-kwádó", ig_conj.participle("kwádó"), "àkwádó")
self:equals("-hàpụ̀", ig_conj.participle("hàpụ̀"), "áhàpụ̀")
self:equals("-gbásà", ig_conj.participle("gbásà"), "àgbásà")
end
return tests