exercism/clojure/hello-world/test/hello_world_test.clj

13 lines
329 B
Clojure
Raw Normal View History

2016-08-13 23:20:14 +00:00
(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"))))