Module Assertions
In: karel/assertions.rb

Methods

Public Instance methods

Assert the robot is on a specified corner

Assert the robot is on a specified avenue

Assert the robot has precisely the number of beepers given in its beeper bag

Assert the robot is facing the given direction

Assert the robot‘s front is blocked

Assert the robot‘s front is clear

Assert a robot has at least one neighbor

Assert a robot has no neighbors

Assert the robot is not on a specified corner

Assert the robot is not on a specified avenue

Assert the robot does not have precisely the number of beepers given in its beeper bag

Assert the robot is not facing the given direction

Assert the robot is not running

Assert the robot is not on a specified street

Assert the robot is running

Assert the robot has some beepers (i.e. not 0)

Assert the robot is on a specified street

[Validate]