Module:akk-decl-noun/testacases



local tests = require('Module:UnitTests')
local decl = require("Module:akk-decl-noun")
function tests:check(name, value, expected)
   for name1, expect in ipairs(expected) do
   		self:equals(name.."."..name1, value, expect)
	end
end

function tests:test_decl() 
	for name, test in tests.g do
		self:check(decl.main(name, test.args, true), test.expected)
	end
	
end

tests.g = {
	
}