public void RemovePieceAt_Should_ReturnNull() { // Arrange SUT board = new SUT(); // Assert Assert.IsNull(board.RemovePieceAt(new ChessSquare("e4"))); }
public void RemovePieceAt_Should_ThrowArgumentNullException() { // Arrange SUT board = new SUT(); // Act board.RemovePieceAt(null); // Assert }
public void RemovePieceAt_Should_RemoveThePiece(string square, ChessPieceKind expectedPiece, ChessColor expectedColor) { // Arrange SUT board = new SUT(); ChessPiece actualPiece; // Act actualPiece = board.RemovePieceAt(new ChessSquare(square)); // Assert Assert.AreEqual(expectedPiece, actualPiece.Kind); Assert.AreEqual(expectedColor, actualPiece.Color); }