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

            foo.changePlayer();
            Assert.AreEqual('o', foo.currentPlayer());
        }
Example #2
0
        public void placementTestO()
        {
            tictactoe foo = new tictactoe();

            foo.createBoard();
            foo.changePlayer();
            foo.makeMove(0, 0, foo.currentPlayer());
            Assert.AreEqual(foo.board[0, 0], 'o');
        }