diff options
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")))) |