]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
New test module for complex math module
authorRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>
Mon, 9 Dec 1996 22:59:15 +0000 (22:59 +0000)
committerRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>
Mon, 9 Dec 1996 22:59:15 +0000 (22:59 +0000)
Lib/test/test_cmath.py [new file with mode: 0755]

diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py
new file mode 100755 (executable)
index 0000000..8c452d7
--- /dev/null
@@ -0,0 +1,22 @@
+#! /usr/bin/env python
+""" Simple test script for cmathmodule.c
+Roger E. Masse
+"""
+import cmath
+
+cmath.acos(1.0)
+cmath.acosh(1.0)
+cmath.asin(1.0)
+cmath.asinh(1.0)
+cmath.atan(0.2)
+cmath.atanh(0.3)
+cmath.cos(1.0)
+cmath.cosh(1.0)
+cmath.exp(1.0)
+cmath.log(1.0)
+cmath.log10(1.0)
+cmath.sin(1.0)
+cmath.sinh(1.0)
+cmath.sqrt(1.0)
+cmath.tan(1.0)
+cmath.tanh(1.0)