Skip to content

Commit

Permalink
Heroically saved test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
London Clojure Dojo committed Sep 28, 2010
1 parent 0a3ad82 commit 12e6d8b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/clork_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
(deftest desc-exits-test
(is (= "North West" (desc-exits (get-in *test-world* [:rooms :hall])))))

(deftest look-test
(is (= "hall\nExits: North West\nItems: A very pointy sword.\n" (look *test-world* :player1)))
(is (= "kitchen\nExits: East\nItems: \n" (look *test-world* :player2))))

(deftest move-test
(is (= :kitchen (get-in (move-player *test-world* :player1 :w) [:players :player1 :location])))
(is (= :study (get-in (move-player *test-world* :player1 :n) [:players :player1 :location])))
Expand Down

0 comments on commit 12e6d8b

Please sign in to comment.