コード例 #1
0
ファイル: tests.py プロジェクト: singalen/hige_class
 def test_5(self):
     a = [
         '...',
         '...',
         '...',
     ]
     self.assertTrue(foxcross.is_crosses(a))
コード例 #2
0
ファイル: tests.py プロジェクト: singalen/hige_class
 def test_1(self):
     a = [
         '.#...',
         '####.',
         '.####',
         '...#.',
         '.....',
     ]
     self.assertTrue(foxcross.is_crosses(a))
コード例 #3
0
ファイル: tests.py プロジェクト: singalen/hige_class
 def test_2(self):
     a = [
         '#####',
         '#####',
         '#####',
         '#####',
         '#####',
     ]
     self.assertFalse(foxcross.is_crosses(a))
コード例 #4
0
ファイル: tests.py プロジェクト: singalen/hige_class
 def test_4(self):
     a = [
         '.#..#.',
         '######',
         '.####.',
         '.####.',
         '######',
         '.#..#.',
     ]
     self.assertFalse(foxcross.is_crosses(a))