Author: Armin Rigo <ar...@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
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to