From 11476f961c77b009349c51c62bb0dc49780da685 Mon Sep 17 00:00:00 2001 From: Aaron Bedra Date: Sun, 31 Jan 2010 10:52:32 -0600 Subject: [PATCH] finishing asserts --- koans/about-asserts.clj | 7 +++++++ koans/path_to_enlightenment.clj | 1 + 2 files changed, 8 insertions(+) diff --git a/koans/about-asserts.clj b/koans/about-asserts.clj index b6272cf..718af9f 100644 --- a/koans/about-asserts.clj +++ b/koans/about-asserts.clj @@ -1,3 +1,5 @@ +(def __ nil) + (defn #^{:zen "We shall contemplate truth by testing reality, via asserts."} test-truth [] @@ -9,3 +11,8 @@ (let [expected-value 0 actual-value (+ 1 1)] (assert (= expected-value actual-value)))) + +(defn #^{:zen "Sometimes we will ask you to fill in the values"} + test-fill-in-values + [] + (assert (= __ (+ 1 1)))) \ No newline at end of file diff --git a/koans/path_to_enlightenment.clj b/koans/path_to_enlightenment.clj index 3f221c1..bf0e338 100644 --- a/koans/path_to_enlightenment.clj +++ b/koans/path_to_enlightenment.clj @@ -13,4 +13,5 @@ (meditate-on test-truth) (meditate-on test-assert-equality) +(meditate-on test-fill-in-values) (println "You have achieved clojure zen. Go out into the universe and spread your newfound knowledge.")