From 5f73b18d12780ea7ade998d5ef9ba57274dfece7 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Sat, 18 Apr 2015 21:53:09 +0100 Subject: [PATCH] Tests now pass again. Oooops. --- src/mw_engine/utils.clj | 3 ++- test/mw_engine/drainage_test.clj | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mw_engine/utils.clj b/src/mw_engine/utils.clj index c8ced6a..3ad2b1f 100644 --- a/src/mw_engine/utils.clj +++ b/src/mw_engine/utils.clj @@ -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 (:require diff --git a/test/mw_engine/drainage_test.clj b/test/mw_engine/drainage_test.clj index 574e7bf..ba2c95a 100644 --- a/test/mw_engine/drainage_test.clj +++ b/test/mw_engine/drainage_test.clj @@ -11,7 +11,7 @@ (world/make-world 3 3) #(merge %2 {:altitude 100})) 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")))) (deftest flood-hollow-test