[pypy-svn] r72280 - pypy/branch/ll_math/pypy/rpython/lltypesystem/module/test
arigo at codespeak.net
arigo at codespeak.net
Tue Mar 16 13:58:05 CET 2010
Author: arigo
Date: Tue Mar 16 13:58:03 2010
New Revision: 72280
Modified:
pypy/branch/ll_math/pypy/rpython/lltypesystem/module/test/test_ll_math.py
Log:
Tests for fmod.
Modified: pypy/branch/ll_math/pypy/rpython/lltypesystem/module/test/test_ll_math.py
==============================================================================
--- pypy/branch/ll_math/pypy/rpython/lltypesystem/module/test/test_ll_math.py (original)
+++ pypy/branch/ll_math/pypy/rpython/lltypesystem/module/test/test_ll_math.py Tue Mar 16 13:58:03 2010
@@ -91,6 +91,10 @@
('atan2', (0.0, -INFINITY), math.pi),
('atan2', (-0.1, -INFINITY), -math.pi),
#
+ ('fmod', (INFINITY, 1.0), ValueError),
+ ('fmod', (1.0, INFINITY), 1.0),
+ ('fmod', (1.0, -INFINITY), 1.0),
+ ('fmod', (INFINITY, INFINITY), ValueError),
]
binary_math_functions = ['atan2', 'fmod', 'hypot', 'pow']
More information about the Pypy-commit
mailing list