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