Ejemplo n.º 1
0
 public void row_too_low()
 {
     var command = new PlaceOnPieceCommand(-1, 3, _piece);
     Should.ThrowException<CommandException>(() => command.Execute(_board));
 }
Ejemplo n.º 2
0
 public void valid_placement()
 {
     var command = new PlaceOnPieceCommand(3, 3, _piece);
     command.Execute(_board);
 }
Ejemplo n.º 3
0
 public void col_too_high()
 {
     var command = new PlaceOnPieceCommand(3, 15, _piece);
     Should.ThrowException<CommandException>(() => command.Execute(_board));
 }