testing the double loop
This commit is contained in:
parent
d1ac469a3b
commit
5321703287
@ -23,7 +23,12 @@
|
||||
(def count 0)
|
||||
(for [x [1 2 3 4 5]]
|
||||
(def count (+ count x)))
|
||||
(assert (= count 15)))
|
||||
(assert (= count 15))
|
||||
(def count 0)
|
||||
(for [x [1 2 3 4 5]
|
||||
y [1 2 3 4 5]]
|
||||
(def count (+ count x y)))
|
||||
(assert (= count 140)))
|
||||
|
||||
|
||||
(defn test-in []
|
||||
|
Loading…
x
Reference in New Issue
Block a user