We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b9aa2 commit 6d0ae3aCopy full SHA for 6d0ae3a
3 files changed
tests/runtime/cases/ltrim_test.bas
@@ -0,0 +1,19 @@
1
+#include "lib/tst_framework.bas"
2
+
3
+INIT("Test LTRIM$()")
4
5
+#include <string.bas>
6
+#include <alloc.bas>
7
8
+print memavail; chr$(13); maxavail
9
10
+print "'"; ltrim("", "a"); "'"
11
+print "'"; ltrim("hello world", ""); "'"
12
+print "'"; ltrim("hello world", "he"); "'"
13
+print "'"; ltrim("hehello world", "he"); "'"
14
+print "'"; ltrim("hehehe", "he"); "'"
15
16
17
18
+FINISH
19
tests/runtime/expected/ltrim_test.tzx.scr
6.75 KB
tests/runtime/run
@@ -4,6 +4,6 @@
RUN=$(basename -s .bas $1)
rm -f "$RUN.tzx"
killall fuse 2>/dev/null
-../../zxb.py -TaB $1 --debug-memory || exit 1
+../../zxbc.py -TaB $1 --debug-memory || exit 1
fuse --auto-load --speed=19000 "$RUN.tzx" &
0 commit comments