public void row_too_low() { var message = new PlaceOnBoardMessage(-1, 3, _piece); Should.ThrowException<InvalidPiecePlacementException>(() => _board.Place(message)); }
public void valid_placement() { var message = new PlaceOnBoardMessage(3, 3, _piece); _board.Place(message); }
public void col_too_high() { var message = new PlaceOnBoardMessage(3, 15, _piece); Should.ThrowException<InvalidPiecePlacementException>(() => _board.Place(message)); }