[pypy-commit] stmgc default: Test '/'

arigo noreply at buildbot.pypy.org
Thu Jul 11 11:10:10 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r389:9a3faf0b3c1b
Date: 2013-07-11 11:09 +0200
http://bitbucket.org/pypy/stmgc/changeset/9a3faf0b3c1b/

Log:	Test '/'

diff --git a/duhton/test/test_int.py b/duhton/test/test_int.py
--- a/duhton/test/test_int.py
+++ b/duhton/test/test_int.py
@@ -20,6 +20,10 @@
     assert evaluate("(* 2 3 7)") == 42
     assert evaluate("(* (+ 5 1) (+ 6 1))") == 42
 
+def test_div():
+    assert evaluate("(/ 11 2)") == 5
+    assert evaluate("(/ 29 2 3)") == 4
+
 def test_cmp():
     assert evaluate("(<  6 6)") == 0
     assert evaluate("(<= 6 6)") == 1


More information about the pypy-commit mailing list