public void IsPositionOccupied_IsCorrect() { var board = new GameBoard(); var p1 = new HumanPlayer("jim"); Assert.False(board.IsPositionOccupied(1, 1)); board.Occupy(p1, 1, 1); Assert.True(board.IsPositionOccupied(1, 1)); }
public void IsPositionOccupied_IsCorrect() { var board = new GameBoard(); var p1 = new HumanPlayer("jim"); Assert.False(board.IsPositionOccupied(1, 1)); board.Occupy(p1, 1, 1); Assert.True(board.IsPositionOccupied(1, 1)); }