New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2018-12-01 15:55:37 +03:00
committed by Ilya Kirillov
parent 5236858c20
commit f752796408
330 changed files with 2800 additions and 60 deletions
+3 -2
View File
@@ -1,2 +1,3 @@
//expression
x & 2
//statement
int x = 2;
x & 2;
+1
View File
@@ -1 +1,2 @@
val x = 2
x and 2
+3 -2
View File
@@ -1,2 +1,3 @@
//expression
x | 2
//statement
int x = 0;
x | 2;
+1
View File
@@ -1 +1,2 @@
val x = 0
x or 2
+3 -2
View File
@@ -1,2 +1,3 @@
//expression
x << 2
//statement
int x = 0;
x << 2;
@@ -1 +1,2 @@
val x = 0
x shl 2
@@ -1,2 +1,3 @@
//expression
x >> 2
//statement
int x = 0;
x >> 2;
@@ -1 +1,2 @@
val x = 0
x shr 2
@@ -1,2 +1,3 @@
//expression
x >>> 2
//statement
int x = 0;
x >>> 2;
@@ -1 +1,2 @@
val x = 0
x.ushr(2)
@@ -0,0 +1,2 @@
val x = 0
x ushr 2
+3 -2
View File
@@ -1,2 +1,3 @@
//expression
x ^ 2
//statement
int x = 0;
x ^ 2;
+1
View File
@@ -1 +1,2 @@
val x = 0
x xor 2