more tests for the runtime

This commit is contained in:
Francesco Cozzuto
2023-01-23 01:06:29 +01:00
parent 1780826a97
commit f7a2cb0611
48 changed files with 597 additions and 14 deletions
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 90.22;
PUSHFLT 700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [790.61]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT -90.22;
PUSHFLT 700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [610.17]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 90.22;
PUSHFLT -700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-610.17]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT -90.22;
PUSHFLT -700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-790.61]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 90.39;
PUSHINT 700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [790.39]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT -90.39;
PUSHINT 700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [609.61]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT 90.39;
PUSHINT -700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-609.61]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHFLT -90.39;
PUSHINT -700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-790.39]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 90;
PUSHFLT 700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [790.39]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 90;
PUSHFLT -700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-610.39]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT -90;
PUSHFLT 700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [610.39]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT -90;
PUSHFLT -700.39;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-790.39]
+14
View File
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 90;
PUSHINT 700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [790]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT -90;
PUSHINT 700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [610]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT 90;
PUSHINT -700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-610]
@@ -0,0 +1,14 @@
@type [runtime]
@bytecode
PUSHINT -90;
PUSHINT -700;
ADD;
PUSHVAR "print";
CALL 1, 1;
POP 1;
EXIT;
@output [-790]