From: Roger E. Masse Date: Mon, 9 Dec 1996 22:59:15 +0000 (+0000) Subject: New test module for complex math module X-Git-Tag: v1.5a1~838 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3daddda165d66df767251c70b418d7f86820293d;p=thirdparty%2FPython%2Fcpython.git New test module for complex math module --- diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py new file mode 100755 index 000000000000..8c452d734d0f --- /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)