public void Pawn_Move_IllegalCoordinates_Right_DoesNotMove_Black() { _chessBoard.Add(_blackPawn, 6, 3); _blackPawn.Move(MovementType.Move, 6, 4); Assert.That(_blackPawn.XCoordinate, Is.EqualTo(6)); Assert.That(_blackPawn.YCoordinate, Is.EqualTo(3)); }
public void Pawn_Move_IllegalCoordinates_Right_DoesNotMove_White() { _chessBoard.Add(_whitePawn, 1, 3); _whitePawn.Move(MovementType.Move, 1, 4); Assert.That(_whitePawn.XCoordinate, Is.EqualTo(1)); Assert.That(_whitePawn.YCoordinate, Is.EqualTo(3)); }
public void Pawn_Move_IllegalCoordinates_Right_DoesNotMove() { _chessBoard.Add(_pawn, 6, 3, PieceColor.Black); _pawn.Move(MovementType.Move, 7, 3); Assert.That(_pawn.XCoordinate, Is.EqualTo(6)); Assert.That(_pawn.YCoordinate, Is.EqualTo(3)); }