[pypy-svn] r72281 - pypy/branch/ll_math/pypy/rpython/lltypesystem/module/test

arigo at codespeak.net arigo at codespeak.net
Tue Mar 16 13:58:54 CET 2010


Author: arigo
Date: Tue Mar 16 13:58:53 2010
New Revision: 72281

Modified:
   pypy/branch/ll_math/pypy/rpython/lltypesystem/module/test/test_ll_math.py
Log:
Tests for hypot.


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:53 2010
@@ -95,6 +95,9 @@
         ('fmod', (1.0, INFINITY), 1.0),
         ('fmod', (1.0, -INFINITY), 1.0),
         ('fmod', (INFINITY, INFINITY), ValueError),
+        #
+        ('hypot', (-INFINITY, 1.0), positiveinf),
+        ('hypot', (-2.3, -INFINITY), positiveinf),
         ]
 
     binary_math_functions = ['atan2', 'fmod', 'hypot', 'pow']



More information about the Pypy-commit mailing list