Navigation Menu

Skip to content

Commit

Permalink
Update tests to expect auto promoting operators.
Browse files Browse the repository at this point in the history
  • Loading branch information
mythmon committed Mar 12, 2012
1 parent 1931bc9 commit 163f891
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions test_programs/good_programs/fdiv.ibtl
@@ -1,2 +1,2 @@
(println (f/ -1.e0 -1.0))
(println (f/ 2.5 2.0))
(println (/ -1.e0 -1.0))
(println (/ 2.5 2.0))
6 changes: 3 additions & 3 deletions test_programs/good_programs/feq.ibtl
@@ -1,3 +1,3 @@
(println (f= 1.0 1.0))
(println (f= 2.0 1.))
(println (f= 1. 2.))
(println (= 1.0 1.0))
(println (= 2.0 1.))
(println (= 1. 2.))
6 changes: 3 additions & 3 deletions test_programs/good_programs/flt.ibtl
@@ -1,3 +1,3 @@
(println (f< 1.e0 2.0))
(println (f< 2.5 2.5))
(println (f< 2.5 1.5))
(println (< 1.e0 2.0))
(println (< 2.5 2.5))
(println (< 2.5 1.5))
2 changes: 1 addition & 1 deletion test_programs/good_programs/fminus.ibtl
@@ -1 +1 @@
(println (f- 2e1 2.5e1))
(println (- 2e1 2.5e1))
6 changes: 3 additions & 3 deletions test_programs/good_programs/fmod.ibtl
@@ -1,3 +1,3 @@
(println (f% 2.5 1.5))
(println (f% 2.5 2.0))
(println (f% 2.5 2.5))
(println (% 2.5 1.5))
(println (% 2.5 2.0))
(println (% 2.5 2.5))
4 changes: 2 additions & 2 deletions test_programs/good_programs/fmult.ibtl
@@ -1,2 +1,2 @@
(println (f* 1.5e0 1.5))
(println (f* -1. 3.0))
(println (* 1.5e0 1.5))
(println (* -1. 3.0))
6 changes: 3 additions & 3 deletions test_programs/good_programs/fneg.ibtl
@@ -1,3 +1,3 @@
(println (fneg 4.0e0))
(println (fneg 10.))
(println (fneg -20.))
(println (neg 4.0e0))
(println (neg 10.))
(println (neg -20.))
4 changes: 2 additions & 2 deletions test_programs/good_programs/fpower.ibtl
@@ -1,2 +1,2 @@
(println (f^ 2. 3.))
(println (f^ 4. 1.5))
(println (^ 2. 3.))
(println (^ 4. 1.5))

0 comments on commit 163f891

Please sign in to comment.