コード例 #1
0
        public void CheckThirdSituationTest()
        {
            Board     board = new Board();
            bool?     win;
            AlphaBeta alphaBeta = new AlphaBeta();
            int       result    = 0;

            //XX_____
            //XX_____
            board.PutToken(0);
            board.PutToken(0);
            board.PutToken(1);
            board.PutToken(1);
            alphaBeta.CheckThirdSituation(true, board, ref result);
            Assert.AreEqual(result, 170000);
        }