moved test scripts to new tests dir and made them executable

This commit is contained in:
Bob Polis 2020-09-21 10:45:06 +02:00
parent 749ae0faa7
commit 98602abb9e
4 changed files with 8 additions and 0 deletions

2
code/gcd.txt → tests/gcd Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env curly
>main
gto
:gcd
@ -48,4 +49,5 @@ ret
6
>lcm
fun
out
end

2
code/hello.txt → tests/hello Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env curly
3
=cnt
\Hello, world!
@ -18,4 +19,5 @@ $cnt
>loop
ggt
$result
out
end

2
code/slicer.txt → tests/slicer Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env curly
>main
gto
:slicer
@ -37,4 +38,5 @@ len
2
>slicer
fun
out
end

2
code/whats-your-name.txt → tests/whats-your-name Normal file → Executable file
View File

@ -1,6 +1,8 @@
#!/usr/bin/env curly
\What's your name?
out
\Hello,
inp
cat
out
end