Example #1
0
        public void CurrentPlayerPlaceO()
        {
            tictactoe tictactoe = new tictactoe();

            tictactoe.CreateBoard();
            tictactoe.MakeMove(1, "O");
            Assert.AreEqual("O", tictactoe.TictactoeArray[1]);
        }
Example #2
0
        public void CurrentPlayerPlaceX()
        {
            tictactoe tictactoe = new tictactoe();

            tictactoe.CreateBoard();
            tictactoe.MakeMove(2, "X");
            Assert.AreEqual("X", tictactoe.TictactoeArray[2]);
        }