✨
This commit is contained in:
0
tests/01_none.expected
Normal file
0
tests/01_none.expected
Normal file
1
tests/02_variable.expected
Normal file
1
tests/02_variable.expected
Normal file
@ -0,0 +1 @@
|
||||
2
|
1
tests/03_math.expected
Normal file
1
tests/03_math.expected
Normal file
@ -0,0 +1 @@
|
||||
4 2.0 2
|
1
tests/04_scope.expected
Normal file
1
tests/04_scope.expected
Normal file
@ -0,0 +1 @@
|
||||
5
|
1
tests/05_maybe.expected1
Normal file
1
tests/05_maybe.expected1
Normal file
@ -0,0 +1 @@
|
||||
1
|
1
tests/05_maybe.expected2
Normal file
1
tests/05_maybe.expected2
Normal file
@ -0,0 +1 @@
|
||||
2
|
1
tests/06_if.expected
Normal file
1
tests/06_if.expected
Normal file
@ -0,0 +1 @@
|
||||
b
|
1
tests/07_function.expected
Normal file
1
tests/07_function.expected
Normal file
@ -0,0 +1 @@
|
||||
5
|
3
tests/08_precedence.expected
Normal file
3
tests/08_precedence.expected
Normal file
@ -0,0 +1,3 @@
|
||||
7
|
||||
5
|
||||
5 6
|
@ -3,4 +3,6 @@ $ 1 + 2 * 3 -> x|
|
||||
do print<variable x;>|
|
||||
$ 5 -> y if variable x = 7|
|
||||
do print<variable y;>|
|
||||
$$5 -> z + 1 -> a|
|
||||
do print<variable z; variable a;>|
|
||||
goodbye|
|
5
tests/09_fib.expected
Normal file
5
tests/09_fib.expected
Normal file
@ -0,0 +1,5 @@
|
||||
1
|
||||
1
|
||||
2
|
||||
8
|
||||
55
|
1
tests/10_E001.expected
Normal file
1
tests/10_E001.expected
Normal file
@ -0,0 +1 @@
|
||||
E001: No greeting
|
2
tests/10_E001.plthy
Normal file
2
tests/10_E001.plthy
Normal file
@ -0,0 +1,2 @@
|
||||
$2 -> x|
|
||||
goodbye|
|
1
tests/11_E002.expected
Normal file
1
tests/11_E002.expected
Normal file
@ -0,0 +1 @@
|
||||
E002: No valediction
|
2
tests/11_E002.plthy
Normal file
2
tests/11_E002.plthy
Normal file
@ -0,0 +1,2 @@
|
||||
hello|
|
||||
$2 -> x|
|
3
tests/12_list.expected
Normal file
3
tests/12_list.expected
Normal file
@ -0,0 +1,3 @@
|
||||
[1, 2, 3]
|
||||
3
|
||||
2
|
6
tests/12_list.plthy
Normal file
6
tests/12_list.plthy
Normal file
@ -0,0 +1,6 @@
|
||||
hello|
|
||||
${1;2;3;} -> x|
|
||||
do print<variable x;>|
|
||||
${1;1+1;do print<3;>;} -> y|
|
||||
do print<variable y{5 - 4};>|
|
||||
goodbye|
|
Reference in New Issue
Block a user