Module:Vital article/testcases explained

-- Unit tests for . Click talk page to run tests.local p = require('Module:UnitTests')

local test_link_cases =

local test_level_cases =

-- Example unit test.function p:test_link for _, v in ipairs(test_link_cases) do local page, link_value = v[1], v[2] self:preprocess_equals('', link_value) endend

function p:test_link_sandbox for _, v in ipairs(test_link_cases) do local page, link_value = v[1], v[2] self:preprocess_equals('', link_value) endend

function p:test_link_normal_vs_sandbox for _, v in ipairs(test_link_cases) do local page = v[1] self:preprocess_equals_preprocess('', '') endend

--function p:test_levels-- for k, v in pairs(test_level_cases) do-- self:preprocess_equals(-- '', tostring(v))-- end--end

return p