Tests now pass again. Oooops.

This commit is contained in:
Simon Brooke 2015-04-18 21:53:09 +01:00
parent f9591c4e8d
commit 5f73b18d12
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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