示例#1
0
        public void BeStatusIncomplete()
        {
            //Arrange
            var turns = new int[]
            {
                1, 0
            };

            //Act
            var result = new TicTacToc().Process(turns);

            //Assert
            Assert.Equal(expected: TicTacToc.StatusTiTacToc.incomplete, actual: result);
        }
示例#2
0
        public void BeStatuIncompleteInEigthsTurns()
        {
            //Arrange
            var ticTacToc = new TicTacToc();
            var turns     = new int[]
            {
                1, 0
            };

            ticTacToc.SetTurnCount(8);

            //Act
            var result = ticTacToc.Process(turns);

            //Assert
            Assert.Equal(expected: StatusTiTacToc.draw, actual: result);
        }