summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ssplit.bth7
-rw-r--r--tests/ssplit.out7
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/ssplit.bth b/tests/ssplit.bth
new file mode 100644
index 0000000..4dbc860
--- /dev/null
+++ b/tests/ssplit.bth
@@ -0,0 +1,7 @@
+(say (ssplit " " "aaa bbb ccc"))
+(say (ssplit 'l "flucloxacillin"))
+(say (ssplit 'l "hi"))
+(say (ssplit 'l ""))
+(say (ssplit 'l 'local))
+(say (ssplit 'l 'focal))
+(say (ssplit 'l 'locate))
diff --git a/tests/ssplit.out b/tests/ssplit.out
new file mode 100644
index 0000000..fd23afa
--- /dev/null
+++ b/tests/ssplit.out
@@ -0,0 +1,7 @@
+[aaa bbb ccc]
+[f uc oxaci in]
+[hi]
+[]
+[ oca ]
+[foca ]
+[ ocate]