--This is a test created by Luis150902
local test = local getArgs = require("Module:Arguments").getArgslocal yesno = require("Module:Yesno")
function test.f1(frame) local args = getArgs(frame) return mw.ustring.len(args["1"])end
function test.f2(frame) local args = getArgs(frame) local i = 0 for j in args do i = i + 1 end return iend
function test.f3(frame) local args = getArgs(frame) local op = args["1"] if (op
"") or (op
nil) or (op
"") then return 0 end end if (op
"-") then return test._f3_1(args) end if (op
"/") then return test._f3_3(args) end if (op
"!") then return test._f3_5(args) endend
function test._f3_0(args) local a = args["2"] if (a
"") or (a
nil) or (a
"") then return 0 end end local b = args["3"] if (b
"") or (b
nil) or (b
"") then return 0 end end return a + bend
function test._f3_1(args) local a = args["2"] if (a
"") or (a
nil) or (a
"") then return 0 end end local b = args["3"] if (b
"") or (b
nil) or (b
"") then return 0 end end return a - bend
function test._f3_2(args) local a = args["2"] if (a
"") or (a
nil) or (a
"") then return 0 end end local b = args["3"] if (b
"") or (b
nil) or (b
"") then return 0 end end return a * bend
function test._f3_3(args) local a = args["2"] if (a
"") or (a
nil) or (a
"") then return 0 end end local b = args["3"] if (b
"") or (b
nil) or (b
"") then return 0 end end return a / bend
function test._f3_4(args) local a = args["2"] if (a
"") or (a
nil) or (a
"") then return 0 end end local b = args["3"] if (b
"") or (b
nil) or (b
"") then return 0 end end return a % bend
function test._f3_5(args) local a = args["2"] if (a
"") or (a
nil) or (a
"") then return 0 end end local result = yesno(a) if result then return "false" else return "true" endend
return test