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
|
||||
gto
|
||||
:gcd
|
||||
@ -48,4 +49,5 @@ ret
|
||||
6
|
||||
>lcm
|
||||
fun
|
||||
out
|
||||
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
|
||||
=cnt
|
||||
\Hello, world!
|
||||
@ -18,4 +19,5 @@ $cnt
|
||||
>loop
|
||||
ggt
|
||||
$result
|
||||
out
|
||||
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
|
||||
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
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?
|
||||
out
|
||||
\Hello,
|
||||
inp
|
||||
cat
|
||||
out
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user