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