ed962f1f23
Instead of having a special set of arguments to test for each math-module function, just test all functions with all sets of arguments. This gives improved test cases to prevent regressions. Signed-off-by: Damien George <damien@micropython.org>
6 lines
145 B
Plaintext
6 lines
145 B
Plaintext
pow(0.0000, -inf) = inf
|
|
log(0.0000, -inf) = ValueError
|
|
fmod(0.0000, -inf) = 0.0000
|
|
atan2(0.0000, -inf) = 3.1416
|
|
copysign(0.0000, -inf) = -0.0000
|