Module:Sandbox/Aidan9382/testcases

-- Dummy unit tests

local p = require('Module:UnitTests/sandbox')

-- Fake test

function p:funcNotBegginningTest self:preprocess_equals(' Function 1 ', ' Function 1 ') end

-- Regular tests

function p:test_funcBegginningTest self:preprocess_equals(' Function 2 ', ' Function 2 ') end

function p:test_doomedToFail self:preprocess_equals(' Function 3 ', ' Function 4 ') end

-- nowiki tests

function p:test_funcBegginningTest_nowiki self:preprocess_equals(' Function 2 ', ' Function 2 ', {nowiki=true}) end

function p:test_doomedToFail_nowiki self:preprocess_equals(' Function 3 ', ' Function 4 ', {nowiki=true}) end

-- combined tests

function p:test_funcBegginningTest_combined self:preprocess_equals('', ' Function 2 ', {combined=true}) end

function p:test_doomedToFail_combined self:preprocess_equals(' Function 3 ', ' Function 4 ', {combined=true}) end

-- finish

return p