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

42
tests/slicer Executable file
View File

@@ -0,0 +1,42 @@
#!/usr/bin/env curly
>main
gto
:slicer
=step
=to
=from
=str
$from
=i
\
=result
:loop
$result
$str
$i
idx
cat
=result
$i
$step
add
=i
$i
$str
len
>loop
glt
$result
ret
:main
\Avans Hogeschool
=text
$text
0
$text
len
2
>slicer
fun
out
end