Example #1
0
 def testNSouthEast4(self):
     A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
     self.assertEqual(False, hw.inarow_Nsoutheast('X', 3, 0, A, 2))
Example #2
0
 def testNSouthEast1(self):
     A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
     self.assertEqual(True, hw.inarow_Nsoutheast('X', 1, 1, A, 4))
Example #3
0
 def testNSouthEast3(self):
     A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
     self.assertEqual(True, hw.inarow_Nsoutheast('O', 0, 1, A, 2))
Example #4
0
 def testNSouthEast3(self):
   A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
   assert True == hw.inarow_Nsoutheast('O',0,1,A,2)
Example #5
0
 def testNSouthEast4(self):
   A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
   assert False == hw.inarow_Nsoutheast('X',3,0,A,2)
Example #6
0
 def testNSouthEast2(self):
   A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
   assert False == hw.inarow_Nsoutheast('O',0,1,A,3)
Example #7
0
 def testNSouthEast1(self):
   A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
   assert True == hw.inarow_Nsoutheast('X',1,1,A,4)
 def testNSouthEast4(self):
   A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
   self.assertEqual(False, hw.inarow_Nsoutheast('X',3,0,A,2))
 def testNSouthEast3(self):
   A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
   self.assertEqual(True, hw.inarow_Nsoutheast('O',0,1,A,2))
 def testNSouthEast1(self):
   A = hw.createA(5, 5, 'XOO XXXOXOOOXXXXOXXXOOOXX')
   self.assertEqual(True, hw.inarow_Nsoutheast('X',1,1,A,4))