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