Initial Commit
This commit is contained in:
12
clojure/hello-world/test/hello_world_test.clj
Normal file
12
clojure/hello-world/test/hello_world_test.clj
Normal file
@@ -0,0 +1,12 @@
|
||||
(ns hello-world-test
|
||||
(:require [clojure.test :refer [deftest is]]
|
||||
hello-world))
|
||||
|
||||
(deftest hello-world-test
|
||||
(is (= "Hello, World!" (hello-world/hello))))
|
||||
|
||||
(deftest hello-alice-test
|
||||
(is (= "Hello, Alice!" (hello-world/hello "Alice"))))
|
||||
|
||||
(deftest hello-bob-test
|
||||
(is (= "Hello, Bob!" (hello-world/hello "Bob"))))
|
Reference in New Issue
Block a user