public void RobotNotLostAfterPreviousLostSamePoint() { // Arrange var robot = new SimpleMartianRobot(_coordinate, new _2DDirection(90), _grid); // Act _robot.Move(1); robot.Move(5); // Assert Assert.IsFalse(robot.isLost); }
public void IsRobotLost() { // Arrange // Act _robot.Move(1); var result = _robot.Grid.IsCoordinateScented(_coordinate); // Assert Assert.IsTrue(result); }