summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ssub.bth8
-rw-r--r--tests/ssub.out7
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/ssub.bth b/tests/ssub.bth
new file mode 100644
index 0000000..4c69a28
--- /dev/null
+++ b/tests/ssub.bth
@@ -0,0 +1,8 @@
+(defn (f n h) (say (ssub? n h)))
+(f 'ee 'needle)
+(f 'l 'flucloxacillin)
+(f 'l 'fucoxaciin)
+(f "really really long thethethethe" "h")
+(f 'start "start the at")
+(f 'end "at the end")
+(f 'entire 'entire)
diff --git a/tests/ssub.out b/tests/ssub.out
new file mode 100644
index 0000000..1d000fa
--- /dev/null
+++ b/tests/ssub.out
@@ -0,0 +1,7 @@
+true
+true
+false
+false
+true
+true
+true