2017-08-24 03:38:40 +00:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Validate basic expressions
|
2018-07-24 07:00:06 +00:00
|
|
|
1.5
|
|
|
|
1.666667
|
2018-10-21 10:20:18 +00:00
|
|
|
1
|
2016-05-03 03:53:48 +00:00
|
|
|
1
|
2017-08-24 00:32:49 +00:00
|
|
|
1.667
|
2016-05-03 03:53:48 +00:00
|
|
|
4
|
|
|
|
4
|
|
|
|
2
|
2018-07-24 07:00:06 +00:00
|
|
|
0.5
|
2019-02-13 11:54:19 +00:00
|
|
|
1.666666666666667
|
2017-08-24 00:32:49 +00:00
|
|
|
49
|
2017-07-14 23:03:31 +00:00
|
|
|
0
|
|
|
|
4
|
|
|
|
-10
|
|
|
|
-2
|
|
|
|
-8
|
2017-08-24 03:38:40 +00:00
|
|
|
|
2018-12-01 21:25:00 +00:00
|
|
|
####################
|
|
|
|
# Validate some rounding functions
|
|
|
|
2
|
|
|
|
1
|
|
|
|
2
|
|
|
|
-2
|
|
|
|
-2
|
|
|
|
-1
|
|
|
|
|
2018-07-24 07:00:06 +00:00
|
|
|
####################
|
|
|
|
# Validate some integral computations
|
|
|
|
1
|
|
|
|
10
|
|
|
|
100
|
|
|
|
1000
|
|
|
|
1000000000000000
|
|
|
|
100000000000000
|
|
|
|
-1000000000000000
|
|
|
|
0
|
2018-10-21 10:20:18 +00:00
|
|
|
1
|
2018-07-24 07:00:06 +00:00
|
|
|
500000000000000
|
|
|
|
|
2017-08-24 03:38:40 +00:00
|
|
|
####################
|
2017-12-17 20:31:39 +00:00
|
|
|
# Validate how variables in an expression are handled
|
2017-08-24 03:38:40 +00:00
|
|
|
1
|
|
|
|
2
|
|
|
|
-4.5
|
2018-07-24 07:00:06 +00:00
|
|
|
-4
|
2017-11-25 07:04:44 +00:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Validate math error reporting
|