Module:Codedoc/testcases

-- Unit tests. Click talk page to run tests. local test1ExpectedResults = [=[ Module information Functions testfunction Build function commentary structure from text.. Parameters ]=] local codedoc = require ("Module:Codedoc") local p ={ main={--functioname options={nowiki=true}, --options tests = { equals ={ {"Test valid output", codedoc.main({'Module:Codedoc/testdata'}), test1ExpectedResults, {nowiki=1}}, },       },    }, } return p