Skip to content

Commit

Permalink
Fixed typos in robot-simulator-test.lisp (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
JKilgallen authored Nov 6, 2023
1 parent 8493ca2 commit c2d813e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/robot-simulator/robot-simulator-test.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
(is (equal '(0 . 1) (robot-simulator:robot-position robot)))
(is (equal robot-simulator:+north+ (robot-simulator:robot-bearing robot)))))

(test advance-decrements-y-when-facing-north
(test advance-decrements-y-when-facing-south
(let ((robot
(robot-simulator:make-robot :position '(0 . 0) :bearing
robot-simulator:+south+)))
Expand All @@ -123,7 +123,7 @@
(is (equal '(-1 . 0) (robot-simulator:robot-position robot)))
(is (equal robot-simulator:+west+ (robot-simulator:robot-bearing robot)))))

(test move-east-and-north-readme
(test move-east-and-north
(let ((robot
(robot-simulator:make-robot :position '(7 . 3) :bearing
robot-simulator:+north+)))
Expand Down

0 comments on commit c2d813e

Please sign in to comment.