diff options
author | Andinus <andinus@nand.sh> | 2021-09-05 16:36:40 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-09-05 16:36:40 +0530 |
commit | 38b4e6fa229e65eae10f8a06c81ef1a0802d45f5 (patch) | |
tree | cb94ab163b2f7607f38d01753d286189ddcda259 /clojure/two-fer/test | |
parent | e4fd875702b7be18cfc3eccdb10fb21a065ae5e1 (diff) | |
download | exercism-38b4e6fa229e65eae10f8a06c81ef1a0802d45f5.tar.gz |
Clojure: Add Hello World solution and Two Fer exercise
Diffstat (limited to 'clojure/two-fer/test')
-rw-r--r-- | clojure/two-fer/test/two_fer_test.clj | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clojure/two-fer/test/two_fer_test.clj b/clojure/two-fer/test/two_fer_test.clj new file mode 100644 index 0000000..a1ac329 --- /dev/null +++ b/clojure/two-fer/test/two_fer_test.clj @@ -0,0 +1,12 @@ +(ns two-fer-test + (:require [clojure.test :refer [deftest is]] + two-fer)) + +(deftest two-fer-test + (is (= "One for you, one for me." (two-fer/two-fer)))) + +(deftest name-alice-test + (is (= "One for Alice, one for me." (two-fer/two-fer "Alice")))) + +(deftest name-bob-test + (is (= "One for Bob, one for me." (two-fer/two-fer "Bob")))) |