public void CountOneMoveTest() { GoodMoves goods = new GoodMoves(); CandidateMovesSelective moveFinder = new CandidateMovesSelective(goods, 0); HexBoard testBoard = new HexBoard(BoardSize); testBoard.PlayMove(5, 5, true); IEnumerable<Location> moves = moveFinder.CandidateMoves(testBoard, 0); Assert.Greater(BoardCellCount - 1, moves.Count()); }
public void TestCreate() { GoodMoves goods = new GoodMoves(); CandidateMovesSelective moveFinder = new CandidateMovesSelective(goods, 0); Assert.IsNotNull(moveFinder); }