summary refs log tree commit diff stats
path: root/clojure/two-fer/test/two_fer_test.clj
blob: a1ac329681f11810e1bca75d234f1a56fd52e707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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"))))