New test module for complex math module

This commit is contained in:
Roger E. Masse 1996-12-09 22:59:15 +00:00
parent b71035782e
commit 3daddda165
1 changed files with 22 additions and 0 deletions

22
Lib/test/test_cmath.py Executable file
View File

@ -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)