summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-09 23:37:13 +0100
committerubq323 <ubq323@ubq323.website>2024-08-09 23:37:13 +0100
commit14b6304bb416795ca1016e9ce5f052b0861e5a48 (patch)
treec3d89d22e85f8ebb7070ed742a8baef471aa64c8 /tests
parentd046c7d20fd283c90495d3af4bb53d1cfb2a0812 (diff)
add ssplit
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]