test operations on single
sqrt
ROOT
25
5
abs
ABS
-25
25
negate
NEG
-25
25
ln
LN
1
0
log10
LOG10
100
2
exp
EXP
2
7.38905609893065
power10
POW10
2
100
test arithmetic
add
ADD
1
2
3
subtract
MINUS
1
2
-1
multiply
MULTIPLY
4
2.5
10
divide
DIVIDE
8.2
-5
-1.64
power
POWER
10
4
10000
test trig
sin
SIN
90
1
cos
COS
180
-1
tan
TAN
0
0
asin
ASIN
-1
-90
acos
ACOS
1
0
atan
ATAN
1
45
test constant
const pi
ROUNDDOWN
MULTIPLY
PI
1000
3141
const e
ROUNDDOWN
MULTIPLY
E
1000
2718
const golden
ROUNDDOWN
MULTIPLY
GOLDEN_RATIO
1000
1618
const sqrt 2
ROUNDDOWN
MULTIPLY
SQRT2
1000
1414
const sqrt 0.5
ROUNDDOWN
MULTIPLY
SQRT1_2
1000
707
const infinity
TRUE
LT
9999
INFINITY
test number properties
even
TRUE
EVEN
42
odd
FALSE
ODD
42.1
prime 5
TRUE
PRIME
5
prime 25
FALSE
PRIME
25
prime negative
FALSE
PRIME
-31.1
whole
FALSE
WHOLE
PI
positive
TRUE
POSITIVE
INFINITY
negative
TRUE
NEGATIVE
-42
divisible
TRUE
DIVISIBLE_BY
42
2
test round
round
ROUND
42.42
42
round up
ROUNDUP
-42.42
-42
round down
ROUNDDOWN
42.42
42
test change
varToChange
100
varToChange
42
change
varToChange
142
assert list equal
equal
TRUE
NEQ
a
b
equal
FALSE
x
1
a
NEQ
GET
FROM_START
x
a
GET
FROM_START
x
b
equal
FALSE
BREAK
equal
list equality
a
b
equal
test operations on list
sum
SUM
3
4
5
12
min
MIN
3
4
5
3
max
MAX
3
4
5
5
average
AVERAGE
3
4
5
4
median
MEDIAN
3
4
5
1
3.5
modes
TRUE
MODE
3
4
3
3
standard dev
STD_DEV
3
3
3
0
random
TRUE
GT
FIRST
RANDOM
3
4
5
3
4
5
0
test mod
mod
42
5
2
test constraint
constraint
100
0
42
42
test random integer
rand
5
10
randRange
TRUE
AND
GTE
rand
5
LTE
rand
10
randInteger
TRUE
WHOLE
rand
test random fraction
rand
randFloat
TRUE
AND
GTE
rand
0
LTE
rand
1