Skip to content

Commit

Permalink
Fix duplicate deftest
Browse files Browse the repository at this point in the history
  • Loading branch information
tasxatzial committed Jul 17, 2023
1 parent 182473c commit 835c284
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@
(simulate "A" molly))))))

;; Tests for Follow series of instructions
(deftest moving-east-and-north
(testing "Follow series of instructions -> Moving east and north"
(deftest moving-east-and-north-from-readme
(testing "Follow series of instructions -> Moving east and north from README"
(let [molly (robot {:x 7 :y 3} :north)]
(is (= {:bearing :wes :coordinates {:x 9 :y 4}}
(is (= {:bearing :west :coordinates {:x 9 :y 4}}
(simulate "RAALAL" molly))))))

(deftest moving-west-and-north
Expand Down

0 comments on commit 835c284

Please sign in to comment.