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