summaryrefslogtreecommitdiff
path: root/hello/hello-test.scm
diff options
context:
space:
mode:
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")