diff options
Diffstat (limited to 'tests/float/math_constants.py')
-rw-r--r-- | tests/float/math_constants.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/float/math_constants.py b/tests/float/math_constants.py new file mode 100644 index 0000000000..2e4c321052 --- /dev/null +++ b/tests/float/math_constants.py @@ -0,0 +1,11 @@ +# Tests various constants of the math module. +try: + import math + from math import exp, cos +except ImportError: + print("SKIP") + raise SystemExit + +print(math.e == exp(1.0)) + +print(cos(math.pi)) |