def test_out_of_bounds_upper(self): tt = TicTacToe() tt._init_board(3) self.assertTrue(tt._out_of_bounds((0, 3)))
def test_out_of_bounds(self): tt = TicTacToe() tt._init_board(3) self.assertFalse(tt._out_of_bounds((0, 2)))
def test_out_of_bounds_lower(self): tt = TicTacToe() tt._init_board(3) self.assertTrue(tt._out_of_bounds((-1, 0)))