public void Simple_4_1() { Player.Board board = new Player.Board(new Player.PositionState[, ] { { Player.PositionState.Player, Player.PositionState.Player, Player.PositionState.Player }, { Player.PositionState.Player, Player.PositionState.Free, Player.PositionState.Free }, { Player.PositionState.Free, Player.PositionState.Free, Player.PositionState.Free }, }, null); var result = board.NumberOfPlayerSpaces(); Assert.Equal(4, result); }
public void Simple_0_3() { Player.Board board = new Player.Board(new Player.PositionState[, ] { { Player.PositionState.Free, Player.PositionState.Free, Player.PositionState.Free }, { Player.PositionState.Opponent, Player.PositionState.Opponent, Player.PositionState.Opponent }, { Player.PositionState.Opponent, Player.PositionState.Opponent, Player.PositionState.Opponent }, }, null); var result = board.NumberOfPlayerSpaces(); Assert.Equal(0, result); }