summaryrefslogtreecommitdiff
path: root/hello/hello-test.scm
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-05-18 14:34:37 -0600
committerbd <bdunahu@operationnull.com>2024-05-18 14:47:07 -0600
commit6eb36d8a2f317f2eb49832f3ee06f24204c9e4fb (patch)
tree3c6710d8116d8c3e65c070fa9fffc67ae653fcf9 /hello/hello-test.scm
Hello, Palindrome, & Number-Guesser code-bases
Diffstat (limited to 'hello/hello-test.scm')
-rw-r--r--hello/hello-test.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/hello/hello-test.scm b/hello/hello-test.scm
new file mode 100644
index 0000000..1865112
--- /dev/null
+++ b/hello/hello-test.scm
@@ -0,0 +1,20 @@
+(use-modules (srfi srfi-64)
+ (hello))
+
+(test-begin "harness")
+
+
+(test-equal "test-hello"
+ "hello world\n"
+ (hi))
+
+(test-equal "test-hello-bd"
+ "hello bd\n"
+ (hi "bd"))
+
+(test-equal "test-hello-db"
+ "hello db\n"
+ (hi "db"))
+
+
+(test-end "harness")