mise à jour des tests
This commit is contained in:
1
tests/fragment0/add0.test_ret
Normal file
1
tests/fragment0/add0.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
15
|
||||
1
tests/fragment0/add0.vsl
Normal file
1
tests/fragment0/add0.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 7 + 8
|
||||
1
tests/fragment0/add1.test_ret
Normal file
1
tests/fragment0/add1.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
50
|
||||
1
tests/fragment0/add1.vsl
Normal file
1
tests/fragment0/add1.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 7 + 8 + 5 + 10+10+ 10
|
||||
1
tests/fragment0/const0.test_ret
Normal file
1
tests/fragment0/const0.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/fragment0/const0.vsl
Normal file
1
tests/fragment0/const0.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 0
|
||||
1
tests/fragment0/const1.test_ret
Normal file
1
tests/fragment0/const1.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
42
|
||||
1
tests/fragment0/const1.vsl
Normal file
1
tests/fragment0/const1.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 42
|
||||
1
tests/fragment0/div0.test_ret
Normal file
1
tests/fragment0/div0.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
4
|
||||
1
tests/fragment0/div0.vsl
Normal file
1
tests/fragment0/div0.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 20/5
|
||||
1
tests/fragment0/div1.test_ret
Normal file
1
tests/fragment0/div1.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
2
|
||||
1
tests/fragment0/div1.vsl
Normal file
1
tests/fragment0/div1.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 12 / 3 / 2
|
||||
1
tests/fragment0/mod.test_ret
Normal file
1
tests/fragment0/mod.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/fragment0/mod.vsl
Normal file
1
tests/fragment0/mod.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 21 % 5
|
||||
1
tests/fragment0/mult1.test_ret
Normal file
1
tests/fragment0/mult1.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
20
|
||||
1
tests/fragment0/mult1.vsl
Normal file
1
tests/fragment0/mult1.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 4*5
|
||||
1
tests/fragment0/mult2.test_ret
Normal file
1
tests/fragment0/mult2.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
40
|
||||
1
tests/fragment0/mult2.vsl
Normal file
1
tests/fragment0/mult2.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 4*5*2
|
||||
1
tests/fragment0/paren.test_ret
Normal file
1
tests/fragment0/paren.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
120
|
||||
1
tests/fragment0/paren.vsl
Normal file
1
tests/fragment0/paren.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 4 * (6 + 4) * 3
|
||||
1
tests/fragment0/priority1.test_ret
Normal file
1
tests/fragment0/priority1.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
37
|
||||
1
tests/fragment0/priority1.vsl
Normal file
1
tests/fragment0/priority1.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 4 + 6 * 5 + 3
|
||||
1
tests/fragment0/priority2.test_ret
Normal file
1
tests/fragment0/priority2.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
8
|
||||
1
tests/fragment0/priority2.vsl
Normal file
1
tests/fragment0/priority2.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 1 + 2 * (4 + 5 % 3 + 2) - 3 - 16 / 8 - 4
|
||||
1
tests/fragment0/sub0.test_ret
Normal file
1
tests/fragment0/sub0.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
3
|
||||
1
tests/fragment0/sub0.vsl
Normal file
1
tests/fragment0/sub0.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 8-5
|
||||
1
tests/fragment0/sub1.test_ret
Normal file
1
tests/fragment0/sub1.test_ret
Normal file
@@ -0,0 +1 @@
|
||||
85
|
||||
1
tests/fragment0/sub1.vsl
Normal file
1
tests/fragment0/sub1.vsl
Normal file
@@ -0,0 +1 @@
|
||||
FUNC INT main() RETURN 100 + (10 - 20 - 5)
|
||||
Reference in New Issue
Block a user