Example #1
0
 def testThreeSouthEast4(self):
     A = hw.createA(4, 4, 'XOOXXXOXX XOOOOX')
     self.assertEqual(False, hw.inarow_3southeast('X', 2, 2, A))
Example #2
0
 def testThreeSouthEast3(self):
     A = hw.createA(4, 4, 'XOOXXXOXX XOOOOX')
     self.assertEqual(True, hw.inarow_3southeast('O', 0, 1, A))
Example #3
0
 def testThreeSouthEast4(self):
   A = hw.createA(4, 4, 'XOOXXXOXX XOOOOX')
   assert False == hw.inarow_3southeast('X',2,2,A)
Example #4
0
 def testThreeSouthEast3(self):
   A = hw.createA(4, 4, 'XOOXXXOXX XOOOOX')
   assert True == hw.inarow_3southeast('O',0,1,A)
 def testThreeSouthEast4(self):
   A = hw.createA(4, 4, 'XOOXXXOXX XOOOOX')
   self.assertEqual(False, hw.inarow_3southeast('X',2,2,A))
 def testThreeSouthEast3(self):
   A = hw.createA(4, 4, 'XOOXXXOXX XOOOOX')
   self.assertEqual(True, hw.inarow_3southeast('O',0,1,A))