runtime tests for relational operators

This commit is contained in:
Francesco Cozzuto
2023-01-23 13:17:34 +01:00
parent f7a2cb0611
commit d786d7d1fd
89 changed files with 1207 additions and 5 deletions
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 6.9;
PUSHFLT 7.1;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 7.0;
PUSHFLT 7.1;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 7.1;
PUSHFLT 7.1;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 7.2;
PUSHFLT 7.1;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 7.3;
PUSHFLT 7.1;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 6.8;
PUSHINT 7;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 6.9;
PUSHINT 7;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 7.0;
PUSHINT 7;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 7.1;
PUSHINT 7;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 7.2;
PUSHINT 7;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHFLT 6.8;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHFLT 6.9;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHFLT 7.0;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHFLT 7.1;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHFLT 7.2;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 1;
PUSHINT 2;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHINT 6;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHINT 7;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [true]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 7;
PUSHINT 8;
GEQ;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [false]