public void PrintRobotInMapThroExceptionWithNullRobot() { var robotAction = new RobotAction(new RoverCreator(new RoverBuilder())); IRobot rover = null; robotAction.PrintRobotInMap(rover); }
public void PrintRobotInMapThroExceptionWithRobotCardinalPositionNull() { var robotAction = new RobotAction(new RoverCreator(new RoverBuilder())); var rover = new Robot { Position = new CoordinatePoint() }; robotAction.PrintRobotInMap(rover); }
public void PrintRobotInMapThroExceptionWithRobotPointPositionNull() { var robotAction = new RobotAction(new RoverCreator(new RoverBuilder())); var rover = new Robot { FacingTo = CardinalPoint.South }; robotAction.PrintRobotInMap(rover); }