mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
tests/float: Test domain errors for more combos of args to math funcs.
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>
This commit is contained in:
5
tests/float/math_domain_python311.py.exp
Normal file
5
tests/float/math_domain_python311.py.exp
Normal file
@@ -0,0 +1,5 @@
|
||||
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
|
||||
Reference in New Issue
Block a user