예제 #1
0
 def testThreeSouth3(self):
     A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
     self.assertEqual(False, hw.inarow_3south('X', 1, 3, A))
예제 #2
0
 def testThreeSouth4(self):
     A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
     self.assertEqual(False, hw.inarow_3south('O', 42, 42, A))
예제 #3
0
 def testThreeSouth4(self):
   A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
   assert False == hw.inarow_3south('O',42,42,A)
예제 #4
0
 def testThreeSouth1(self):
     A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
     self.assertEqual(True, hw.inarow_3south('X', 0, 0, A))
예제 #5
0
 def testThreeSouth3(self):
   A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
   assert False == hw.inarow_3south('X',1,3,A)
예제 #6
0
 def testThreeSouth1(self):
   A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
   assert True == hw.inarow_3south('X',0,0,A)
 def testThreeSouth4(self):
   A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
   self.assertEqual(False, hw.inarow_3south('O',42,42,A))
 def testThreeSouth3(self):
   A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
   self.assertEqual(False, hw.inarow_3south('X',1,3,A))
 def testThreeSouth1(self):
   A = hw.createA(4, 4, 'XXOXXXOXXOO OOOX')
   self.assertEqual(True, hw.inarow_3south('X',0,0,A))