Beispiel #1
0
        public void AllHoldsFilled()
        {
            Board     board = Board.GetInitialBoard();
            BoardMove moves = new BoardMove();

            Assert.AreEqual(0, moves.Count);

            moves.FillHolds(board);

            Assert.AreEqual(board.OccupiedMapNodes.Count, moves.Count);
            Assert.IsFalse(moves.Any(m => !m.IsHold));
        }