moved test scripts to new tests dir and made them executable
This commit is contained in:
parent
749ae0faa7
commit
98602abb9e
2
code/gcd.txt → tests/gcd
Normal file → Executable file
2
code/gcd.txt → tests/gcd
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env curly
|
||||||
>main
|
>main
|
||||||
gto
|
gto
|
||||||
:gcd
|
:gcd
|
||||||
@ -48,4 +49,5 @@ ret
|
|||||||
6
|
6
|
||||||
>lcm
|
>lcm
|
||||||
fun
|
fun
|
||||||
|
out
|
||||||
end
|
end
|
2
code/hello.txt → tests/hello
Normal file → Executable file
2
code/hello.txt → tests/hello
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env curly
|
||||||
3
|
3
|
||||||
=cnt
|
=cnt
|
||||||
\Hello, world!
|
\Hello, world!
|
||||||
@ -18,4 +19,5 @@ $cnt
|
|||||||
>loop
|
>loop
|
||||||
ggt
|
ggt
|
||||||
$result
|
$result
|
||||||
|
out
|
||||||
end
|
end
|
2
code/slicer.txt → tests/slicer
Normal file → Executable file
2
code/slicer.txt → tests/slicer
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env curly
|
||||||
>main
|
>main
|
||||||
gto
|
gto
|
||||||
:slicer
|
:slicer
|
||||||
@ -37,4 +38,5 @@ len
|
|||||||
2
|
2
|
||||||
>slicer
|
>slicer
|
||||||
fun
|
fun
|
||||||
|
out
|
||||||
end
|
end
|
2
code/whats-your-name.txt → tests/whats-your-name
Normal file → Executable file
2
code/whats-your-name.txt → tests/whats-your-name
Normal file → Executable file
@ -1,6 +1,8 @@
|
|||||||
|
#!/usr/bin/env curly
|
||||||
\What's your name?
|
\What's your name?
|
||||||
out
|
out
|
||||||
\Hello,
|
\Hello,
|
||||||
inp
|
inp
|
||||||
cat
|
cat
|
||||||
|
out
|
||||||
end
|
end
|
Loading…
x
Reference in New Issue
Block a user