Module:akk-decl-noun/testacases
- This module lacks a documentation subpage. Please create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
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 = {
}