Beispiel #1
0
 def test_5(self):
     a = [
         '...',
         '...',
         '...',
     ]
     self.assertTrue(foxcross.is_crosses(a))
Beispiel #2
0
 def test_1(self):
     a = [
         '.#...',
         '####.',
         '.####',
         '...#.',
         '.....',
     ]
     self.assertTrue(foxcross.is_crosses(a))
Beispiel #3
0
 def test_2(self):
     a = [
         '#####',
         '#####',
         '#####',
         '#####',
         '#####',
     ]
     self.assertFalse(foxcross.is_crosses(a))
Beispiel #4
0
 def test_4(self):
     a = [
         '.#..#.',
         '######',
         '.####.',
         '.####.',
         '######',
         '.#..#.',
     ]
     self.assertFalse(foxcross.is_crosses(a))