Exemplo n.º 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);
        }
Exemplo n.º 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);
        }