Tests now pass again. Oooops.
This commit is contained in:
parent
f9591c4e8d
commit
5f73b18d12
|
@ -1,4 +1,5 @@
|
||||||
;; Utility functions needed by MicroWorld and, specifically, in the interpretation of MicroWorld rule.
|
;; Utility functions needed by MicroWorld and, specifically, in the
|
||||||
|
;; interpretation of MicroWorld rule.
|
||||||
|
|
||||||
(ns mw-engine.utils
|
(ns mw-engine.utils
|
||||||
(:require
|
(:require
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
(world/make-world 3 3)
|
(world/make-world 3 3)
|
||||||
#(merge %2 {:altitude 100}))
|
#(merge %2 {:altitude 100}))
|
||||||
1 1 :altitude 90)]
|
1 1 :altitude 90)]
|
||||||
(is (is-hollow (utils/get-cell world 1 1) world)
|
(is (is-hollow world (utils/get-cell world 1 1))
|
||||||
"Cell at 1, 1 should be a hollow"))))
|
"Cell at 1, 1 should be a hollow"))))
|
||||||
|
|
||||||
(deftest flood-hollow-test
|
(deftest flood-hollow-test
|
||||||
|
|
Loading…
Reference in a new issue