Extract luaj3.0-tests.zip to luaj-test/src/test/resources and delete it
This commit is contained in:
750
luaj-test/src/test/resources/errors/mathlibargs.out
Normal file
750
luaj-test/src/test/resources/errors/mathlibargs.out
Normal file
@@ -0,0 +1,750 @@
|
||||
====== math.abs ======
|
||||
--- checkallpass
|
||||
- math.abs(1) 1
|
||||
- math.abs(0.75) 0.75
|
||||
- math.abs('-1') 1
|
||||
- math.abs('-0.25') 0.25
|
||||
--- checkallerrors
|
||||
- math.abs(nil) ...bad argument...
|
||||
- math.abs('abc') ...bad argument...
|
||||
- math.abs(true) ...bad argument...
|
||||
- math.abs(<function>) ...bad argument...
|
||||
- math.abs(<table>) ...bad argument...
|
||||
- math.abs(<thread>) ...bad argument...
|
||||
====== math.acos ======
|
||||
--- checkallpass
|
||||
- math.acos(1) 0
|
||||
- math.acos(0.75) 0.722...
|
||||
- math.acos('-1') 3.141...
|
||||
- math.acos('-0.25') 1.823...
|
||||
--- checkallerrors
|
||||
- math.acos(nil) ...bad argument...
|
||||
- math.acos('abc') ...bad argument...
|
||||
- math.acos(true) ...bad argument...
|
||||
- math.acos(<function>) ...bad argument...
|
||||
- math.acos(<table>) ...bad argument...
|
||||
- math.acos(<thread>) ...bad argument...
|
||||
====== math.asin ======
|
||||
--- checkallpass
|
||||
- math.asin(1) 1.570...
|
||||
- math.asin(0.75) 0.848...
|
||||
- math.asin('-1') -1.57...
|
||||
- math.asin('-0.25') -0.25...
|
||||
--- checkallerrors
|
||||
- math.asin(nil) ...bad argument...
|
||||
- math.asin('abc') ...bad argument...
|
||||
- math.asin(true) ...bad argument...
|
||||
- math.asin(<function>) ...bad argument...
|
||||
- math.asin(<table>) ...bad argument...
|
||||
- math.asin(<thread>) ...bad argument...
|
||||
====== math.atan ======
|
||||
--- checkallpass
|
||||
- math.atan(1) 0.785...
|
||||
- math.atan(0.75) 0.643...
|
||||
- math.atan('-1') -0.78...
|
||||
- math.atan('-0.25') -0.24...
|
||||
--- checkallerrors
|
||||
- math.atan(nil) ...bad argument...
|
||||
- math.atan('abc') ...bad argument...
|
||||
- math.atan(true) ...bad argument...
|
||||
- math.atan(<function>) ...bad argument...
|
||||
- math.atan(<table>) ...bad argument...
|
||||
- math.atan(<thread>) ...bad argument...
|
||||
====== math.cos ======
|
||||
--- checkallpass
|
||||
- math.cos(1) 0.540...
|
||||
- math.cos(0.75) 0.731...
|
||||
- math.cos('-1') 0.540...
|
||||
- math.cos('-0.25') 0.968...
|
||||
--- checkallerrors
|
||||
- math.cos(nil) ...bad argument...
|
||||
- math.cos('abc') ...bad argument...
|
||||
- math.cos(true) ...bad argument...
|
||||
- math.cos(<function>) ...bad argument...
|
||||
- math.cos(<table>) ...bad argument...
|
||||
- math.cos(<thread>) ...bad argument...
|
||||
====== math.cosh ======
|
||||
--- checkallpass
|
||||
- math.cosh(1) 1.543...
|
||||
- math.cosh(0.75) 1.294...
|
||||
- math.cosh('-1') 1.543...
|
||||
- math.cosh('-0.25') 1.031...
|
||||
--- checkallerrors
|
||||
- math.cosh(nil) ...bad argument...
|
||||
- math.cosh('abc') ...bad argument...
|
||||
- math.cosh(true) ...bad argument...
|
||||
- math.cosh(<function>) ...bad argument...
|
||||
- math.cosh(<table>) ...bad argument...
|
||||
- math.cosh(<thread>) ...bad argument...
|
||||
====== math.deg ======
|
||||
--- checkallpass
|
||||
- math.deg(1) 57.29...
|
||||
- math.deg(0.75) 42.97...
|
||||
- math.deg('-1') -57.2...
|
||||
- math.deg('-0.25') -14.3...
|
||||
--- checkallerrors
|
||||
- math.deg(nil) ...bad argument...
|
||||
- math.deg('abc') ...bad argument...
|
||||
- math.deg(true) ...bad argument...
|
||||
- math.deg(<function>) ...bad argument...
|
||||
- math.deg(<table>) ...bad argument...
|
||||
- math.deg(<thread>) ...bad argument...
|
||||
====== math.exp ======
|
||||
--- checkallpass
|
||||
- math.exp(1) 2.718...
|
||||
- math.exp(0.75) 2.117...
|
||||
- math.exp('-1') 0.367...
|
||||
- math.exp('-0.25') 0.778...
|
||||
--- checkallerrors
|
||||
- math.exp(nil) ...bad argument...
|
||||
- math.exp('abc') ...bad argument...
|
||||
- math.exp(true) ...bad argument...
|
||||
- math.exp(<function>) ...bad argument...
|
||||
- math.exp(<table>) ...bad argument...
|
||||
- math.exp(<thread>) ...bad argument...
|
||||
====== math.floor ======
|
||||
--- checkallpass
|
||||
- math.floor(1) 1
|
||||
- math.floor(0.75) 0
|
||||
- math.floor('-1') -1
|
||||
- math.floor('-0.25') -1
|
||||
--- checkallerrors
|
||||
- math.floor(nil) ...bad argument...
|
||||
- math.floor('abc') ...bad argument...
|
||||
- math.floor(true) ...bad argument...
|
||||
- math.floor(<function>) ...bad argument...
|
||||
- math.floor(<table>) ...bad argument...
|
||||
- math.floor(<thread>) ...bad argument...
|
||||
====== math.rad ======
|
||||
--- checkallpass
|
||||
- math.rad(1) 0.017...
|
||||
- math.rad(0.75) 0.013...
|
||||
- math.rad('-1') -0.01...
|
||||
- math.rad('-0.25') -0.00...
|
||||
--- checkallerrors
|
||||
- math.rad(nil) ...bad argument...
|
||||
- math.rad('abc') ...bad argument...
|
||||
- math.rad(true) ...bad argument...
|
||||
- math.rad(<function>) ...bad argument...
|
||||
- math.rad(<table>) ...bad argument...
|
||||
- math.rad(<thread>) ...bad argument...
|
||||
====== math.randomseed ======
|
||||
--- checkallpass
|
||||
- math.randomseed(1)
|
||||
- math.randomseed(0.75)
|
||||
- math.randomseed('-1')
|
||||
- math.randomseed('-0.25')
|
||||
--- checkallerrors
|
||||
- math.randomseed(nil) ...bad argument...
|
||||
- math.randomseed('abc') ...bad argument...
|
||||
- math.randomseed(true) ...bad argument...
|
||||
- math.randomseed(<function>) ...bad argument...
|
||||
- math.randomseed(<table>) ...bad argument...
|
||||
- math.randomseed(<thread>) ...bad argument...
|
||||
====== math.sin ======
|
||||
--- checkallpass
|
||||
- math.sin(1) 0.841...
|
||||
- math.sin(0.75) 0.681...
|
||||
- math.sin('-1') -0.84...
|
||||
- math.sin('-0.25') -0.24...
|
||||
--- checkallerrors
|
||||
- math.sin(nil) ...bad argument...
|
||||
- math.sin('abc') ...bad argument...
|
||||
- math.sin(true) ...bad argument...
|
||||
- math.sin(<function>) ...bad argument...
|
||||
- math.sin(<table>) ...bad argument...
|
||||
- math.sin(<thread>) ...bad argument...
|
||||
====== math.sinh ======
|
||||
--- checkallpass
|
||||
- math.sinh(1) 1.175...
|
||||
- math.sinh(0.75) 0.822...
|
||||
- math.sinh('-1') -1.17...
|
||||
- math.sinh('-0.25') -0.25...
|
||||
--- checkallerrors
|
||||
- math.sinh(nil) ...bad argument...
|
||||
- math.sinh('abc') ...bad argument...
|
||||
- math.sinh(true) ...bad argument...
|
||||
- math.sinh(<function>) ...bad argument...
|
||||
- math.sinh(<table>) ...bad argument...
|
||||
- math.sinh(<thread>) ...bad argument...
|
||||
====== math.tan ======
|
||||
--- checkallpass
|
||||
- math.tan(1) 1.557...
|
||||
- math.tan(0.75) 0.931...
|
||||
- math.tan('-1') -1.55...
|
||||
- math.tan('-0.25') -0.25...
|
||||
--- checkallerrors
|
||||
- math.tan(nil) ...bad argument...
|
||||
- math.tan('abc') ...bad argument...
|
||||
- math.tan(true) ...bad argument...
|
||||
- math.tan(<function>) ...bad argument...
|
||||
- math.tan(<table>) ...bad argument...
|
||||
- math.tan(<thread>) ...bad argument...
|
||||
====== math.tanh ======
|
||||
--- checkallpass
|
||||
- math.tanh(1) 0.761...
|
||||
- math.tanh(0.75) 0.635...
|
||||
- math.tanh('-1') -0.76...
|
||||
- math.tanh('-0.25') -0.24...
|
||||
--- checkallerrors
|
||||
- math.tanh(nil) ...bad argument...
|
||||
- math.tanh('abc') ...bad argument...
|
||||
- math.tanh(true) ...bad argument...
|
||||
- math.tanh(<function>) ...bad argument...
|
||||
- math.tanh(<table>) ...bad argument...
|
||||
- math.tanh(<thread>) ...bad argument...
|
||||
====== math.frexp ======
|
||||
--- checkallpass
|
||||
- math.frexp(1) 0.5,1
|
||||
- math.frexp(0.75) 0.75,0
|
||||
- math.frexp('-1') -0.5,1
|
||||
- math.frexp('-0.25') -0.5,-1
|
||||
--- checkallerrors
|
||||
- math.frexp(nil) ...bad argument...
|
||||
- math.frexp('abc') ...bad argument...
|
||||
- math.frexp(true) ...bad argument...
|
||||
- math.frexp(<function>) ...bad argument...
|
||||
- math.frexp(<table>) ...bad argument...
|
||||
- math.frexp(<thread>) ...bad argument...
|
||||
====== math.log ======
|
||||
--- checkallpass
|
||||
- math.log(1) 0
|
||||
- math.log(0.75) -0.28...
|
||||
- math.log('2') 0.693...
|
||||
- math.log('2.5') 0.916...
|
||||
--- checkallerrors
|
||||
- math.log(nil) ...bad argument...
|
||||
- math.log('abc') ...bad argument...
|
||||
- math.log(true) ...bad argument...
|
||||
- math.log(<function>) ...bad argument...
|
||||
- math.log(<table>) ...bad argument...
|
||||
- math.log(<thread>) ...bad argument...
|
||||
====== math.sqrt ======
|
||||
--- checkallpass
|
||||
- math.sqrt(1) 1
|
||||
- math.sqrt(0.75) 0.866...
|
||||
- math.sqrt('2') 1.414...
|
||||
- math.sqrt('2.5') 1.581...
|
||||
--- checkallerrors
|
||||
- math.sqrt(nil) ...bad argument...
|
||||
- math.sqrt('abc') ...bad argument...
|
||||
- math.sqrt(true) ...bad argument...
|
||||
- math.sqrt(<function>) ...bad argument...
|
||||
- math.sqrt(<table>) ...bad argument...
|
||||
- math.sqrt(<thread>) ...bad argument...
|
||||
====== math.ceil ======
|
||||
--- checkallpass
|
||||
- math.ceil(1) 1
|
||||
- math.ceil(0.75) 1
|
||||
- math.ceil('2') 2
|
||||
- math.ceil('2.5') 3
|
||||
--- checkallerrors
|
||||
- math.ceil(nil) ...bad argument...
|
||||
- math.ceil('abc') ...bad argument...
|
||||
- math.ceil(true) ...bad argument...
|
||||
- math.ceil(<function>) ...bad argument...
|
||||
- math.ceil(<table>) ...bad argument...
|
||||
- math.ceil(<thread>) ...bad argument...
|
||||
====== math.atan2 ======
|
||||
--- checkallpass
|
||||
- math.atan2(1,1) 0.785...
|
||||
- math.atan2(0.75,1) 0.643...
|
||||
- math.atan2('-1',1) -0.78...
|
||||
- math.atan2('-0.25',1) -0.24...
|
||||
- math.atan2(1,0.75) 0.927...
|
||||
- math.atan2(0.75,0.75) 0.785...
|
||||
- math.atan2('-1',0.75) -0.92...
|
||||
- math.atan2('-0.25',0.75) -0.32...
|
||||
- math.atan2(1,'-1') 2.356...
|
||||
- math.atan2(0.75,'-1') 2.498...
|
||||
- math.atan2('-1','-1') -2.35...
|
||||
- math.atan2('-0.25','-1') -2.89...
|
||||
- math.atan2(1,'-0.25') 1.815...
|
||||
- math.atan2(0.75,'-0.25') 1.892...
|
||||
- math.atan2('-1','-0.25') -1.81...
|
||||
- math.atan2('-0.25','-0.25') -2.35...
|
||||
--- checkallerrors
|
||||
- math.atan2() ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.atan2(nil) ...bad argument...
|
||||
- math.atan2('abc') ...bad argument...
|
||||
- math.atan2(true) ...bad argument...
|
||||
- math.atan2(<function>) ...bad argument...
|
||||
- math.atan2(<table>) ...bad argument...
|
||||
- math.atan2(<thread>) ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.atan2(nil,1) ...bad argument...
|
||||
- math.atan2('abc',1) ...bad argument...
|
||||
- math.atan2(true,1) ...bad argument...
|
||||
- math.atan2(<function>,1) ...bad argument...
|
||||
- math.atan2(<table>,1) ...bad argument...
|
||||
- math.atan2(<thread>,1) ...bad argument...
|
||||
- math.atan2(nil,0.75) ...bad argument...
|
||||
- math.atan2('abc',0.75) ...bad argument...
|
||||
- math.atan2(true,0.75) ...bad argument...
|
||||
- math.atan2(<function>,0.75) ...bad argument...
|
||||
- math.atan2(<table>,0.75) ...bad argument...
|
||||
- math.atan2(<thread>,0.75) ...bad argument...
|
||||
- math.atan2(nil,'-1') ...bad argument...
|
||||
- math.atan2('abc','-1') ...bad argument...
|
||||
- math.atan2(true,'-1') ...bad argument...
|
||||
- math.atan2(<function>,'-1') ...bad argument...
|
||||
- math.atan2(<table>,'-1') ...bad argument...
|
||||
- math.atan2(<thread>,'-1') ...bad argument...
|
||||
- math.atan2(nil,'-0.25') ...bad argument...
|
||||
- math.atan2('abc','-0.25') ...bad argument...
|
||||
- math.atan2(true,'-0.25') ...bad argument...
|
||||
- math.atan2(<function>,'-0.25') ...bad argument...
|
||||
- math.atan2(<table>,'-0.25') ...bad argument...
|
||||
- math.atan2(<thread>,'-0.25') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.atan2(1) ...bad argument...
|
||||
- math.atan2(0.75) ...bad argument...
|
||||
- math.atan2('-1') ...bad argument...
|
||||
- math.atan2('-0.25') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.atan2(1,nil) ...bad argument...
|
||||
- math.atan2(0.75,nil) ...bad argument...
|
||||
- math.atan2('-1',nil) ...bad argument...
|
||||
- math.atan2('-0.25',nil) ...bad argument...
|
||||
- math.atan2(1,'abc') ...bad argument...
|
||||
- math.atan2(0.75,'abc') ...bad argument...
|
||||
- math.atan2('-1','abc') ...bad argument...
|
||||
- math.atan2('-0.25','abc') ...bad argument...
|
||||
- math.atan2(1,true) ...bad argument...
|
||||
- math.atan2(0.75,true) ...bad argument...
|
||||
- math.atan2('-1',true) ...bad argument...
|
||||
- math.atan2('-0.25',true) ...bad argument...
|
||||
- math.atan2(1,<function>) ...bad argument...
|
||||
- math.atan2(0.75,<function>) ...bad argument...
|
||||
- math.atan2('-1',<function>) ...bad argument...
|
||||
- math.atan2('-0.25',<function>) ...bad argument...
|
||||
- math.atan2(1,<table>) ...bad argument...
|
||||
- math.atan2(0.75,<table>) ...bad argument...
|
||||
- math.atan2('-1',<table>) ...bad argument...
|
||||
- math.atan2('-0.25',<table>) ...bad argument...
|
||||
- math.atan2(1,<thread>) ...bad argument...
|
||||
- math.atan2(0.75,<thread>) ...bad argument...
|
||||
- math.atan2('-1',<thread>) ...bad argument...
|
||||
- math.atan2('-0.25',<thread>) ...bad argument...
|
||||
====== math.pow ======
|
||||
--- checkallpass
|
||||
- math.pow(1,1) 1
|
||||
- math.pow(0.75,1) 0.75
|
||||
- math.pow('2',1) 2
|
||||
- math.pow('2.5',1) 2.5
|
||||
- math.pow(1,0.75) 1
|
||||
- math.pow(0.75,0.75) 0.805...
|
||||
- math.pow('2',0.75) 1.681...
|
||||
- math.pow('2.5',0.75) 1.988...
|
||||
- math.pow(1,'-1') 1
|
||||
- math.pow(0.75,'-1') 1.333...
|
||||
- math.pow('2','-1') 0.5
|
||||
- math.pow('2.5','-1') 0.4
|
||||
- math.pow(1,'-0.25') 1
|
||||
- math.pow(0.75,'-0.25') 1.074...
|
||||
- math.pow('2','-0.25') 0.840...
|
||||
- math.pow('2.5','-0.25') 0.795...
|
||||
--- checkallerrors
|
||||
- math.pow() ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.pow(nil) ...bad argument...
|
||||
- math.pow('abc') ...bad argument...
|
||||
- math.pow(true) ...bad argument...
|
||||
- math.pow(<function>) ...bad argument...
|
||||
- math.pow(<table>) ...bad argument...
|
||||
- math.pow(<thread>) ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.pow(nil,1) ...bad argument...
|
||||
- math.pow('abc',1) ...bad argument...
|
||||
- math.pow(true,1) ...bad argument...
|
||||
- math.pow(<function>,1) ...bad argument...
|
||||
- math.pow(<table>,1) ...bad argument...
|
||||
- math.pow(<thread>,1) ...bad argument...
|
||||
- math.pow(nil,0.75) ...bad argument...
|
||||
- math.pow('abc',0.75) ...bad argument...
|
||||
- math.pow(true,0.75) ...bad argument...
|
||||
- math.pow(<function>,0.75) ...bad argument...
|
||||
- math.pow(<table>,0.75) ...bad argument...
|
||||
- math.pow(<thread>,0.75) ...bad argument...
|
||||
- math.pow(nil,'-1') ...bad argument...
|
||||
- math.pow('abc','-1') ...bad argument...
|
||||
- math.pow(true,'-1') ...bad argument...
|
||||
- math.pow(<function>,'-1') ...bad argument...
|
||||
- math.pow(<table>,'-1') ...bad argument...
|
||||
- math.pow(<thread>,'-1') ...bad argument...
|
||||
- math.pow(nil,'-0.25') ...bad argument...
|
||||
- math.pow('abc','-0.25') ...bad argument...
|
||||
- math.pow(true,'-0.25') ...bad argument...
|
||||
- math.pow(<function>,'-0.25') ...bad argument...
|
||||
- math.pow(<table>,'-0.25') ...bad argument...
|
||||
- math.pow(<thread>,'-0.25') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.pow(1) ...bad argument...
|
||||
- math.pow(0.75) ...bad argument...
|
||||
- math.pow('-1') ...bad argument...
|
||||
- math.pow('-0.25') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.pow(1,nil) ...bad argument...
|
||||
- math.pow(0.75,nil) ...bad argument...
|
||||
- math.pow('-1',nil) ...bad argument...
|
||||
- math.pow('-0.25',nil) ...bad argument...
|
||||
- math.pow(1,'abc') ...bad argument...
|
||||
- math.pow(0.75,'abc') ...bad argument...
|
||||
- math.pow('-1','abc') ...bad argument...
|
||||
- math.pow('-0.25','abc') ...bad argument...
|
||||
- math.pow(1,true) ...bad argument...
|
||||
- math.pow(0.75,true) ...bad argument...
|
||||
- math.pow('-1',true) ...bad argument...
|
||||
- math.pow('-0.25',true) ...bad argument...
|
||||
- math.pow(1,<function>) ...bad argument...
|
||||
- math.pow(0.75,<function>) ...bad argument...
|
||||
- math.pow('-1',<function>) ...bad argument...
|
||||
- math.pow('-0.25',<function>) ...bad argument...
|
||||
- math.pow(1,<table>) ...bad argument...
|
||||
- math.pow(0.75,<table>) ...bad argument...
|
||||
- math.pow('-1',<table>) ...bad argument...
|
||||
- math.pow('-0.25',<table>) ...bad argument...
|
||||
- math.pow(1,<thread>) ...bad argument...
|
||||
- math.pow(0.75,<thread>) ...bad argument...
|
||||
- math.pow('-1',<thread>) ...bad argument...
|
||||
- math.pow('-0.25',<thread>) ...bad argument...
|
||||
====== math.fmod ======
|
||||
--- checkallpass
|
||||
- math.fmod(1,1) 0
|
||||
- math.fmod(0.75,1) 0.75
|
||||
- math.fmod('2',1) 0
|
||||
- math.fmod('2.5',1) 0.5
|
||||
- math.fmod(1,0.75) 0.25
|
||||
- math.fmod(0.75,0.75) 0
|
||||
- math.fmod('2',0.75) 0.5
|
||||
- math.fmod('2.5',0.75) 0.25
|
||||
- math.fmod(1,'-1') 0
|
||||
- math.fmod(0.75,'-1') 0.75
|
||||
- math.fmod('2','-1') 0
|
||||
- math.fmod('2.5','-1') 0.5
|
||||
- math.fmod(1,'-0.25') 0
|
||||
- math.fmod(0.75,'-0.25') 0
|
||||
- math.fmod('2','-0.25') 0
|
||||
- math.fmod('2.5','-0.25') 0
|
||||
--- checkallerrors
|
||||
- math.fmod() ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.fmod(nil) ...bad argument...
|
||||
- math.fmod('abc') ...bad argument...
|
||||
- math.fmod(true) ...bad argument...
|
||||
- math.fmod(<function>) ...bad argument...
|
||||
- math.fmod(<table>) ...bad argument...
|
||||
- math.fmod(<thread>) ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.fmod(nil,1) ...bad argument...
|
||||
- math.fmod('abc',1) ...bad argument...
|
||||
- math.fmod(true,1) ...bad argument...
|
||||
- math.fmod(<function>,1) ...bad argument...
|
||||
- math.fmod(<table>,1) ...bad argument...
|
||||
- math.fmod(<thread>,1) ...bad argument...
|
||||
- math.fmod(nil,0.75) ...bad argument...
|
||||
- math.fmod('abc',0.75) ...bad argument...
|
||||
- math.fmod(true,0.75) ...bad argument...
|
||||
- math.fmod(<function>,0.75) ...bad argument...
|
||||
- math.fmod(<table>,0.75) ...bad argument...
|
||||
- math.fmod(<thread>,0.75) ...bad argument...
|
||||
- math.fmod(nil,'-1') ...bad argument...
|
||||
- math.fmod('abc','-1') ...bad argument...
|
||||
- math.fmod(true,'-1') ...bad argument...
|
||||
- math.fmod(<function>,'-1') ...bad argument...
|
||||
- math.fmod(<table>,'-1') ...bad argument...
|
||||
- math.fmod(<thread>,'-1') ...bad argument...
|
||||
- math.fmod(nil,'-0.25') ...bad argument...
|
||||
- math.fmod('abc','-0.25') ...bad argument...
|
||||
- math.fmod(true,'-0.25') ...bad argument...
|
||||
- math.fmod(<function>,'-0.25') ...bad argument...
|
||||
- math.fmod(<table>,'-0.25') ...bad argument...
|
||||
- math.fmod(<thread>,'-0.25') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.fmod(1) ...bad argument...
|
||||
- math.fmod(0.75) ...bad argument...
|
||||
- math.fmod('-1') ...bad argument...
|
||||
- math.fmod('-0.25') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.fmod(1,nil) ...bad argument...
|
||||
- math.fmod(0.75,nil) ...bad argument...
|
||||
- math.fmod('-1',nil) ...bad argument...
|
||||
- math.fmod('-0.25',nil) ...bad argument...
|
||||
- math.fmod(1,'abc') ...bad argument...
|
||||
- math.fmod(0.75,'abc') ...bad argument...
|
||||
- math.fmod('-1','abc') ...bad argument...
|
||||
- math.fmod('-0.25','abc') ...bad argument...
|
||||
- math.fmod(1,true) ...bad argument...
|
||||
- math.fmod(0.75,true) ...bad argument...
|
||||
- math.fmod('-1',true) ...bad argument...
|
||||
- math.fmod('-0.25',true) ...bad argument...
|
||||
- math.fmod(1,<function>) ...bad argument...
|
||||
- math.fmod(0.75,<function>) ...bad argument...
|
||||
- math.fmod('-1',<function>) ...bad argument...
|
||||
- math.fmod('-0.25',<function>) ...bad argument...
|
||||
- math.fmod(1,<table>) ...bad argument...
|
||||
- math.fmod(0.75,<table>) ...bad argument...
|
||||
- math.fmod('-1',<table>) ...bad argument...
|
||||
- math.fmod('-0.25',<table>) ...bad argument...
|
||||
- math.fmod(1,<thread>) ...bad argument...
|
||||
- math.fmod(0.75,<thread>) ...bad argument...
|
||||
- math.fmod('-1',<thread>) ...bad argument...
|
||||
- math.fmod('-0.25',<thread>) ...bad argument...
|
||||
====== math.max ======
|
||||
--- checkallpass
|
||||
- math.max(1) 1
|
||||
- math.max(0.75) 0.75
|
||||
- math.max('-1') -1
|
||||
- math.max('-0.25') -0.25...
|
||||
--- checkallpass
|
||||
- math.max(1,1) 1
|
||||
- math.max(0.75,1) 1
|
||||
- math.max('-1',1) 1
|
||||
- math.max('-0.25',1) 1
|
||||
- math.max(1,0.75) 1
|
||||
- math.max(0.75,0.75) 0.75
|
||||
- math.max('-1',0.75) 0.75
|
||||
- math.max('-0.25',0.75) 0.75
|
||||
- math.max(1,'-1') 1
|
||||
- math.max(0.75,'-1') 0.75
|
||||
- math.max('-1','-1') -1
|
||||
- math.max('-0.25','-1') -0.25...
|
||||
- math.max(1,'-0.25') 1
|
||||
- math.max(0.75,'-0.25') 0.75
|
||||
- math.max('-1','-0.25') -0.25...
|
||||
- math.max('-0.25','-0.25') -0.25...
|
||||
--- checkallerrors
|
||||
- math.max() ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.max('abc') ...bad argument...
|
||||
- math.max(true) ...bad argument...
|
||||
- math.max(<function>) ...bad argument...
|
||||
- math.max(<table>) ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.max(1,'abc') ...bad argument...
|
||||
- math.max(0.75,'abc') ...bad argument...
|
||||
- math.max('-1','abc') ...bad argument...
|
||||
- math.max('-0.25','abc') ...bad argument...
|
||||
- math.max(1,true) ...bad argument...
|
||||
- math.max(0.75,true) ...bad argument...
|
||||
- math.max('-1',true) ...bad argument...
|
||||
- math.max('-0.25',true) ...bad argument...
|
||||
- math.max(1,<function>) ...bad argument...
|
||||
- math.max(0.75,<function>) ...bad argument...
|
||||
- math.max('-1',<function>) ...bad argument...
|
||||
- math.max('-0.25',<function>) ...bad argument...
|
||||
- math.max(1,<table>) ...bad argument...
|
||||
- math.max(0.75,<table>) ...bad argument...
|
||||
- math.max('-1',<table>) ...bad argument...
|
||||
- math.max('-0.25',<table>) ...bad argument...
|
||||
====== math.min ======
|
||||
--- checkallpass
|
||||
- math.min(1) 1
|
||||
- math.min(0.75) 0.75
|
||||
- math.min('-1') -1
|
||||
- math.min('-0.25') -0.25...
|
||||
--- checkallpass
|
||||
- math.min(1,1) 1
|
||||
- math.min(0.75,1) 0.75
|
||||
- math.min('-1',1) -1
|
||||
- math.min('-0.25',1) -0.25...
|
||||
- math.min(1,0.75) 0.75
|
||||
- math.min(0.75,0.75) 0.75
|
||||
- math.min('-1',0.75) -1
|
||||
- math.min('-0.25',0.75) -0.25...
|
||||
- math.min(1,'-1') -1
|
||||
- math.min(0.75,'-1') -1
|
||||
- math.min('-1','-1') -1
|
||||
- math.min('-0.25','-1') -1
|
||||
- math.min(1,'-0.25') -0.25...
|
||||
- math.min(0.75,'-0.25') -0.25...
|
||||
- math.min('-1','-0.25') -1
|
||||
- math.min('-0.25','-0.25') -0.25...
|
||||
--- checkallerrors
|
||||
- math.min() ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.min('abc') ...bad argument...
|
||||
- math.min(true) ...bad argument...
|
||||
- math.min(<function>) ...bad argument...
|
||||
- math.min(<table>) ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.min(1,'abc') ...bad argument...
|
||||
- math.min(0.75,'abc') ...bad argument...
|
||||
- math.min('-1','abc') ...bad argument...
|
||||
- math.min('-0.25','abc') ...bad argument...
|
||||
- math.min(1,true) ...bad argument...
|
||||
- math.min(0.75,true) ...bad argument...
|
||||
- math.min('-1',true) ...bad argument...
|
||||
- math.min('-0.25',true) ...bad argument...
|
||||
- math.min(1,<function>) ...bad argument...
|
||||
- math.min(0.75,<function>) ...bad argument...
|
||||
- math.min('-1',<function>) ...bad argument...
|
||||
- math.min('-0.25',<function>) ...bad argument...
|
||||
- math.min(1,<table>) ...bad argument...
|
||||
- math.min(0.75,<table>) ...bad argument...
|
||||
- math.min('-1',<table>) ...bad argument...
|
||||
- math.min('-0.25',<table>) ...bad argument...
|
||||
====== math.random ======
|
||||
--- checkallpass
|
||||
- math.random() number
|
||||
--- checkallpass
|
||||
- math.random(3) number
|
||||
- math.random(4.5) number
|
||||
- math.random('6.7') number
|
||||
--- checkallpass
|
||||
- math.random(3,8) number
|
||||
- math.random(4.5,8) number
|
||||
- math.random('6.7',8) number
|
||||
- math.random(3,9.1) number
|
||||
- math.random(4.5,9.1) number
|
||||
- math.random('6.7',9.1) number
|
||||
- math.random(3,'12.34') number
|
||||
- math.random(4.5,'12.34') number
|
||||
- math.random('6.7','12.34') number
|
||||
--- checkallpass
|
||||
- math.random(-4,-1) number
|
||||
- math.random(-5.6,-1) number
|
||||
- math.random('-7',-1) number
|
||||
- math.random('-8.9',-1) number
|
||||
- math.random(-4,100) number
|
||||
- math.random(-5.6,100) number
|
||||
- math.random('-7',100) number
|
||||
- math.random('-8.9',100) number
|
||||
- math.random(-4,23.45...) number
|
||||
- math.random(-5.6,23.45...) number
|
||||
- math.random('-7',23.45...) number
|
||||
- math.random('-8.9',23.45...) number
|
||||
- math.random(-4,'-1.23') number
|
||||
- math.random(-5.6,'-1.23') number
|
||||
- math.random('-7','-1.23') number
|
||||
- math.random('-8.9','-1.23') number
|
||||
--- checkallerrors
|
||||
- math.random(-4) ...interval is empty...
|
||||
- math.random(-5.6) ...interval is empty...
|
||||
- math.random('-7') ...interval is empty...
|
||||
- math.random('-8.9') ...interval is empty...
|
||||
--- checkallerrors
|
||||
- math.random(8,3) ...interval is empty...
|
||||
- math.random(9.1,3) ...interval is empty...
|
||||
- math.random('12.34',3) ...interval is empty...
|
||||
- math.random(8,4.5) ...interval is empty...
|
||||
- math.random(9.1,4.5) ...interval is empty...
|
||||
- math.random('12.34',4.5) ...interval is empty...
|
||||
- math.random(8,'6.7') ...interval is empty...
|
||||
- math.random(9.1,'6.7') ...interval is empty...
|
||||
- math.random('12.34','6.7') ...interval is empty...
|
||||
--- checkallerrors
|
||||
- math.random('abc',8) ...bad argument...
|
||||
- math.random(true,8) ...bad argument...
|
||||
- math.random(<table>,8) ...bad argument...
|
||||
- math.random(<function>,8) ...bad argument...
|
||||
- math.random('abc',9.1) ...bad argument...
|
||||
- math.random(true,9.1) ...bad argument...
|
||||
- math.random(<table>,9.1) ...bad argument...
|
||||
- math.random(<function>,9.1) ...bad argument...
|
||||
- math.random('abc','12.34') ...bad argument...
|
||||
- math.random(true,'12.34') ...bad argument...
|
||||
- math.random(<table>,'12.34') ...bad argument...
|
||||
- math.random(<function>,'12.34') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.random(3,'abc') ...bad argument...
|
||||
- math.random(4.5,'abc') ...bad argument...
|
||||
- math.random('6.7','abc') ...bad argument...
|
||||
- math.random(3,true) ...bad argument...
|
||||
- math.random(4.5,true) ...bad argument...
|
||||
- math.random('6.7',true) ...bad argument...
|
||||
- math.random(3,<table>) ...bad argument...
|
||||
- math.random(4.5,<table>) ...bad argument...
|
||||
- math.random('6.7',<table>) ...bad argument...
|
||||
- math.random(3,<function>) ...bad argument...
|
||||
- math.random(4.5,<function>) ...bad argument...
|
||||
- math.random('6.7',<function>) ...bad argument...
|
||||
====== math.ldexp ======
|
||||
--- checkallpass
|
||||
- math.ldexp(1,-3) 0.125...
|
||||
- math.ldexp(0.75,-3) 0.093...
|
||||
- math.ldexp('-1',-3) -0.12...
|
||||
- math.ldexp('-0.25',-3) -0.03...
|
||||
- math.ldexp(1,0) 1
|
||||
- math.ldexp(0.75,0) 0.75
|
||||
- math.ldexp('-1',0) -1
|
||||
- math.ldexp('-0.25',0) -0.25...
|
||||
- math.ldexp(1,3) 8
|
||||
- math.ldexp(0.75,3) 6
|
||||
- math.ldexp('-1',3) -8
|
||||
- math.ldexp('-0.25',3) -2
|
||||
- math.ldexp(1,9.1) 512
|
||||
- math.ldexp(0.75,9.1) 384
|
||||
- math.ldexp('-1',9.1) -512
|
||||
- math.ldexp('-0.25',9.1) -128
|
||||
- math.ldexp(1,'12.34') 4096
|
||||
- math.ldexp(0.75,'12.34') 3072
|
||||
- math.ldexp('-1','12.34') -4096...
|
||||
- math.ldexp('-0.25','12.34') -1024...
|
||||
--- checkallerrors
|
||||
- math.ldexp() ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.ldexp(nil) ...bad argument...
|
||||
- math.ldexp('abc') ...bad argument...
|
||||
- math.ldexp(true) ...bad argument...
|
||||
- math.ldexp(<function>) ...bad argument...
|
||||
- math.ldexp(<table>) ...bad argument...
|
||||
- math.ldexp(<thread>) ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.ldexp(nil,-3) ...bad argument...
|
||||
- math.ldexp('abc',-3) ...bad argument...
|
||||
- math.ldexp(true,-3) ...bad argument...
|
||||
- math.ldexp(<function>,-3) ...bad argument...
|
||||
- math.ldexp(<table>,-3) ...bad argument...
|
||||
- math.ldexp(<thread>,-3) ...bad argument...
|
||||
- math.ldexp(nil,0) ...bad argument...
|
||||
- math.ldexp('abc',0) ...bad argument...
|
||||
- math.ldexp(true,0) ...bad argument...
|
||||
- math.ldexp(<function>,0) ...bad argument...
|
||||
- math.ldexp(<table>,0) ...bad argument...
|
||||
- math.ldexp(<thread>,0) ...bad argument...
|
||||
- math.ldexp(nil,3) ...bad argument...
|
||||
- math.ldexp('abc',3) ...bad argument...
|
||||
- math.ldexp(true,3) ...bad argument...
|
||||
- math.ldexp(<function>,3) ...bad argument...
|
||||
- math.ldexp(<table>,3) ...bad argument...
|
||||
- math.ldexp(<thread>,3) ...bad argument...
|
||||
- math.ldexp(nil,9.1) ...bad argument...
|
||||
- math.ldexp('abc',9.1) ...bad argument...
|
||||
- math.ldexp(true,9.1) ...bad argument...
|
||||
- math.ldexp(<function>,9.1) ...bad argument...
|
||||
- math.ldexp(<table>,9.1) ...bad argument...
|
||||
- math.ldexp(<thread>,9.1) ...bad argument...
|
||||
- math.ldexp(nil,'12.34') ...bad argument...
|
||||
- math.ldexp('abc','12.34') ...bad argument...
|
||||
- math.ldexp(true,'12.34') ...bad argument...
|
||||
- math.ldexp(<function>,'12.34') ...bad argument...
|
||||
- math.ldexp(<table>,'12.34') ...bad argument...
|
||||
- math.ldexp(<thread>,'12.34') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.ldexp(1) ...bad argument...
|
||||
- math.ldexp(0.75) ...bad argument...
|
||||
- math.ldexp('-1') ...bad argument...
|
||||
- math.ldexp('-0.25') ...bad argument...
|
||||
--- checkallerrors
|
||||
- math.ldexp(1,nil) ...bad argument...
|
||||
- math.ldexp(0.75,nil) ...bad argument...
|
||||
- math.ldexp('-1',nil) ...bad argument...
|
||||
- math.ldexp('-0.25',nil) ...bad argument...
|
||||
- math.ldexp(1,'abc') ...bad argument...
|
||||
- math.ldexp(0.75,'abc') ...bad argument...
|
||||
- math.ldexp('-1','abc') ...bad argument...
|
||||
- math.ldexp('-0.25','abc') ...bad argument...
|
||||
- math.ldexp(1,true) ...bad argument...
|
||||
- math.ldexp(0.75,true) ...bad argument...
|
||||
- math.ldexp('-1',true) ...bad argument...
|
||||
- math.ldexp('-0.25',true) ...bad argument...
|
||||
- math.ldexp(1,<table>) ...bad argument...
|
||||
- math.ldexp(0.75,<table>) ...bad argument...
|
||||
- math.ldexp('-1',<table>) ...bad argument...
|
||||
- math.ldexp('-0.25',<table>) ...bad argument...
|
||||
- math.ldexp(1,<function>) ...bad argument...
|
||||
- math.ldexp(0.75,<function>) ...bad argument...
|
||||
- math.ldexp('-1',<function>) ...bad argument...
|
||||
- math.ldexp('-0.25',<function>) ...bad argument...
|
||||
Reference in New Issue
Block a user