(facts "do-a-thing" {:exercise 1 |
:points 1} | (do-a-thing 3) => 46656.0 | (do-a-thing 1) => 4.0 | (do-a-thing 0) => 1.0) |
facts "do-a-thing" {:exercise 1 :points 1}
user=> (autotest)
====================================================================== Loading (training-day-test training-day) Exception No namespace: training-day-test found clojure.core/the-ns (core.clj:3760)
Exception No namespace: training-day-test found clojure.core/the-ns (core.clj:3760) user=> (use 'midje.repl) nil user=> (autotest) ====================================================================== Loading (training-day-test training-day) Exception No namespace: training-day-test found clojure.core/the-ns (core.clj:3760)
ns training-day-test (:use iloveponies.tests.training-day))
ception No namespace: training-day-test found clojure.core/the-ns (core.clj:3760) user=> (use 'midje.repl) nil user=> (autotest) ====================================================================== Loading (training-day-test training-day) Exception No namespace: training-day-test found clojure.core/the-ns (core.clj:3760)
No facts were checked. Is that what you wanted?
then I say true and do another time (check-facts ...) and I see the right outcome.
Roelof