changeset 729:f61fa4201997 draft

More test results added to iadd.clj
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Tue, 10 May 2016 12:59:33 +0200
parents ba2834e6d9c2
children 24e4a8b3ebc0
files src/tests/d2i.clj src/tests/iadd.clj
diffstat 2 files changed, 84 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/src/tests/d2i.clj	Mon May 09 16:08:08 2016 +0200
+++ b/src/tests/d2i.clj	Tue May 10 12:59:33 2016 +0200
@@ -397,6 +397,34 @@
         [:ireturn]
     ])
 
+(def test2147483644-instruction-sequence
+    [
+        [:dconst 2147483644]
+        [:d2i]
+        [:ireturn]
+    ])
+
+(def test2147483645-instruction-sequence
+    [
+        [:dconst 2147483645]
+        [:d2i]
+        [:ireturn]
+    ])
+
+(def test2147483646-instruction-sequence
+    [
+        [:dconst 2147483646]
+        [:d2i]
+        [:ireturn]
+    ])
+
+(def test2147483647-instruction-sequence
+    [
+        [:dconst 2147483647]
+        [:d2i]
+        [:ireturn]
+    ])
+
 (def test-1-instruction-sequence
     [
         [:dconst -1]
@@ -642,34 +670,6 @@
         [:ireturn]
     ])
 
-(def test2147483644-instruction-sequence
-    [
-        [:dconst 2147483644]
-        [:d2i]
-        [:ireturn]
-    ])
-
-(def test2147483645-instruction-sequence
-    [
-        [:dconst 2147483645]
-        [:d2i]
-        [:ireturn]
-    ])
-
-(def test2147483646-instruction-sequence
-    [
-        [:dconst 2147483646]
-        [:d2i]
-        [:ireturn]
-    ])
-
-(def test2147483647-instruction-sequence
-    [
-        [:dconst 2147483647]
-        [:d2i]
-        [:ireturn]
-    ])
-
 (def test-2147483645-instruction-sequence
     [
         [:dconst -2147483645]
--- a/src/tests/iadd.clj	Mon May 09 16:08:08 2016 +0200
+++ b/src/tests/iadd.clj	Tue May 10 12:59:33 2016 +0200
@@ -13953,6 +13953,62 @@
 
     ; ---------------------------------------------------------------------------------------------
 
+    (main/add-test-method generated-class "test32766iadd0"                [] :int test32766add0 2 0)
+    (main/add-test-method generated-class "test32766iadd1"                [] :int test32766add1 2 0)
+    (main/add-test-method generated-class "test32766iadd2"                [] :int test32766add2 2 0)
+    (main/add-test-method generated-class "test32766iadd3"                [] :int test32766add3 2 0)
+    (main/add-test-method generated-class "test32766iadd4"                [] :int test32766add4 2 0)
+    (main/add-test-method generated-class "test32766iadd5"                [] :int test32766add5 2 0)
+    (main/add-test-method generated-class "test32766iadd6"                [] :int test32766add6 2 0)
+    (main/add-test-method generated-class "test32766iadd7"                [] :int test32766add7 2 0)
+    (main/add-test-method generated-class "test32766iadd124"              [] :int test32766add124 2 0)
+    (main/add-test-method generated-class "test32766iadd125"              [] :int test32766add125 2 0)
+    (main/add-test-method generated-class "test32766iadd126"              [] :int test32766add126 2 0)
+    (main/add-test-method generated-class "test32766iadd127"              [] :int test32766add127 2 0)
+    (main/add-test-method generated-class "test32766iadd128"              [] :int test32766add128 2 0)
+    (main/add-test-method generated-class "test32766iadd129"              [] :int test32766add129 2 0)
+    (main/add-test-method generated-class "test32766iadd130"              [] :int test32766add130 2 0)
+    (main/add-test-method generated-class "test32766iadd131"              [] :int test32766add131 2 0)
+    (main/add-test-method generated-class "test32766iadd132"              [] :int test32766add132 2 0)
+    (main/add-test-method generated-class "test32766iadd133"              [] :int test32766add133 2 0)
+    (main/add-test-method generated-class "test32766iadd251"              [] :int test32766add251 2 0)
+    (main/add-test-method generated-class "test32766iadd252"              [] :int test32766add252 2 0)
+    (main/add-test-method generated-class "test32766iadd253"              [] :int test32766add253 2 0)
+    (main/add-test-method generated-class "test32766iadd254"              [] :int test32766add254 2 0)
+    (main/add-test-method generated-class "test32766iadd255"              [] :int test32766add255 2 0)
+    (main/add-test-method generated-class "test32766iadd256"              [] :int test32766add256 2 0)
+    (main/add-test-method generated-class "test32766iadd257"              [] :int test32766add257 2 0)
+    (main/add-test-method generated-class "test32766iadd258"              [] :int test32766add258 2 0)
+    (main/add-test-method generated-class "test32766iadd259"              [] :int test32766add259 2 0)
+    (main/add-test-method generated-class "test32766iadd260"              [] :int test32766add260 2 0)
+    (main/add-test-method generated-class "test32766iadd32764"            [] :int test32766add32764 2 0)
+    (main/add-test-method generated-class "test32766iadd32765"            [] :int test32766add32765 2 0)
+    (main/add-test-method generated-class "test32766iadd32766"            [] :int test32766add32766 2 0)
+    (main/add-test-method generated-class "test32766iadd32767"            [] :int test32766add32767 2 0)
+    (main/add-test-method generated-class "test32766iadd32768"            [] :int test32766add32768 2 0)
+    (main/add-test-method generated-class "test32766iadd32769"            [] :int test32766add32769 2 0)
+    (main/add-test-method generated-class "test32766iadd32770"            [] :int test32766add32770 2 0)
+    (main/add-test-method generated-class "test32766iadd32771"            [] :int test32766add32771 2 0)
+    (main/add-test-method generated-class "test32766iadd32772"            [] :int test32766add32772 2 0)
+    (main/add-test-method generated-class "test32766iadd65531"            [] :int test32766add65531 2 0)
+    (main/add-test-method generated-class "test32766iadd65532"            [] :int test32766add65532 2 0)
+    (main/add-test-method generated-class "test32766iadd65533"            [] :int test32766add65533 2 0)
+    (main/add-test-method generated-class "test32766iadd65534"            [] :int test32766add65534 2 0)
+    (main/add-test-method generated-class "test32766iadd65535"            [] :int test32766add65535 2 0)
+    (main/add-test-method generated-class "test32766iadd65536"            [] :int test32766add65536 2 0)
+    (main/add-test-method generated-class "test32766iadd65537"            [] :int test32766add65537 2 0)
+    (main/add-test-method generated-class "test32766iadd65538"            [] :int test32766add65538 2 0)
+    (main/add-test-method generated-class "test32766iadd65539"            [] :int test32766add65539 2 0)
+    (main/add-test-method generated-class "test32766iadd2147483641"       [] :int test32766add2147483641 2 0)
+    (main/add-test-method generated-class "test32766iadd2147483642"       [] :int test32766add2147483642 2 0)
+    (main/add-test-method generated-class "test32766iadd2147483643"       [] :int test32766add2147483643 2 0)
+    (main/add-test-method generated-class "test32766iadd2147483644"       [] :int test32766add2147483644 2 0)
+    (main/add-test-method generated-class "test32766iadd2147483645"       [] :int test32766add2147483645 2 0)
+    (main/add-test-method generated-class "test32766iadd2147483646"       [] :int test32766add2147483646 2 0)
+    (main/add-test-method generated-class "test32766iadd2147483647"       [] :int test32766add2147483647 2 0)
+
+    ; ---------------------------------------------------------------------------------------------
+
     ; Each test should implement the following entry point:
     ; public static void main(String[] args)
     (main/add-main-method generated-class asserts))