Jump to content

Module:Sandbox/Aidan9382/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Aidan9382 (talk | contribs) at 11:49, 27 January 2023 (disable bad func). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
-- Dummy unit tests

local p = require('Module:UnitTests')

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

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

--[==[
function p:test_doomedToFail()
	self:preprocess_equals('Function 3', 'Function 4')
end
]==]

return p