public void returns_false_for_y_less_than_zero() { var coordinate = new BoardCoordinate(1, -1); Assert.IsFalse(coordinate.IsCoordinateValidForBoardSize(8)); }
public void Coordinate_Is_Not_Within_Board_Size(int x, int y, int boardSize) { var coordinate = new BoardCoordinate(x, y); Assert.False(coordinate.IsCoordinateValidForBoardSize(boardSize)); }
public void Returns_False_For_Y_Less_Than_Zero() { var coordinate = new BoardCoordinate(-12, 2); Assert.IsFalse(coordinate.IsCoordinateValidForBoardSize(5)); }
public void Returns_False_For_Y_Less_Than_Zero() { var coordinate = new BoardCoordinate(2, -12); Assert.IsFalse(coordinate.IsCoordinateValidForBoardSize(5)); }