[pypy-svn] r15252 - pypy/dist/pypy/rpython/module/test

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Jul 28 16:28:12 CEST 2005


Author: cfbolz
Date: Thu Jul 28 16:28:11 2005
New Revision: 15252

Modified:
   pypy/dist/pypy/rpython/module/test/test_ll_math.py
Log:
added test for log

Modified: pypy/dist/pypy/rpython/module/test/test_ll_math.py
==============================================================================
--- pypy/dist/pypy/rpython/module/test/test_ll_math.py	(original)
+++ pypy/dist/pypy/rpython/module/test/test_ll_math.py	Thu Jul 28 16:28:11 2005
@@ -16,4 +16,6 @@
     assert result.item0 == math.frexp(10.1)[0]
     assert result.item1 == math.frexp(10.1)[1]
 
-
+def test_ll_log():
+    assert ll_math_log(8943.790148912) == math.log(8943.790148912)
+    assert ll_math_log10(8943.790148912) == math.log10(8943.790148912)



More information about the Pypy-commit mailing list