summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmath.py
diff options
context:
space:
mode:
authorRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>1996-12-09 22:59:15 (GMT)
committerRoger E. Masse <rmasse@newcnri.cnri.reston.va.us>1996-12-09 22:59:15 (GMT)
commit3daddda165d66df767251c70b418d7f86820293d (patch)
treea170bbbf78f54caa3346983364891367a2f20c7c /Lib/test/test_cmath.py
parentb71035782ed0b08038d5461e8ab53dc05bf4a823 (diff)
downloadcpython-3daddda165d66df767251c70b418d7f86820293d.zip
cpython-3daddda165d66df767251c70b418d7f86820293d.tar.gz
cpython-3daddda165d66df767251c70b418d7f86820293d.tar.bz2
New test module for complex math module
Diffstat (limited to 'Lib/test/test_cmath.py')
-rwxr-xr-xLib/test/test_cmath.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py
new file mode 100755
index 0000000..8c452d7
--- /dev/null
+++ b/Lib/test/test_cmath.py
@@ -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)