public RoverConstraint(Rover expected) { _expected = expected; }
private static bool TestValuesForEquality(Rover expected, Rover actual) { return actual.Point.X == expected.Point.X && actual.Point.Y == expected.Point.Y && actual.Direction.CompassPoint == expected.Direction.CompassPoint; }
private void InitialiseRoverAt(int x, int y, CompassPoint direction) { _rover = new Rover(new GridPoint(x, y), new Direction(direction)); }