summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/test_cma.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-10 16:02:14 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-10 16:02:14 (GMT)
commit5de1f8dac84da8688823688a4f90f36dbbc1af1d (patch)
tree5eae1a4d451d15ea3dc6c2b9019c6ea5db2488e5 /Lib/dos-8x3/test_cma.py
parentbd01374da88d1cbadf111bfdeb0d7c4b2f0629c6 (diff)
downloadcpython-5de1f8dac84da8688823688a4f90f36dbbc1af1d.zip
cpython-5de1f8dac84da8688823688a4f90f36dbbc1af1d.tar.gz
cpython-5de1f8dac84da8688823688a4f90f36dbbc1af1d.tar.bz2
The usual; added several test modules, too.
Diffstat (limited to 'Lib/dos-8x3/test_cma.py')
-rw-r--r--Lib/dos-8x3/test_cma.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/Lib/dos-8x3/test_cma.py b/Lib/dos-8x3/test_cma.py
new file mode 100644
index 0000000..8c452d7
--- /dev/null
+++ b/Lib/dos-8x3/test_cma.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)