Ejemplo n.º 1
0
 def testThreeNorthEast4(self):
     A = hw.createA(4, 4, 'XOXXXXOXXOXOOOOX')
     self.assertEqual(False, hw.inarow_3northeast('X', 3, 3, A))
Ejemplo n.º 2
0
 def testThreeNorthEast2(self):
     A = hw.createA(4, 4, 'XOXXXXOXXOXOOOOX')
     self.assertEqual(True, hw.inarow_3northeast('O', 3, 0, A))
Ejemplo n.º 3
0
 def testThreeNorthEast4(self):
   A = hw.createA(4, 4, 'XOXXXXOXXOXOOOOX')
   assert False == hw.inarow_3northeast('X',3,3,A)
Ejemplo n.º 4
0
 def testThreeNorthEast2(self):
   A = hw.createA(4, 4, 'XOXXXXOXXOXOOOOX')
   assert True == hw.inarow_3northeast('O',3,0,A)
Ejemplo n.º 5
0
 def testThreeNorthEast4(self):
   A = hw.createA(4, 4, 'XOXXXXOXXOXOOOOX')
   self.assertEqual(False, hw.inarow_3northeast('X',3,3,A))
Ejemplo n.º 6
0
 def testThreeNorthEast2(self):
   A = hw.createA(4, 4, 'XOXXXXOXXOXOOOOX')
   self.assertEqual(True, hw.inarow_3northeast('O',3,0,A))