mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
The usual; added several test modules, too.
This commit is contained in:
parent
bd01374da8
commit
5de1f8dac8
10 changed files with 278 additions and 4 deletions
22
Lib/dos_8x3/test_cma.py
Normal file
22
Lib/dos_8x3/test_cma.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue