Пример #1
0
 def test_2_tiles(self):
     self.assertEqual(2, how_many_ways(2))
Пример #2
0
 def test_4_tiles_3_rows(self):
     self.assertEqual(4, how_many_ways(4, 3))
Пример #3
0
 def test_1_tile(self):
     self.assertEqual(1, how_many_ways(1))
Пример #4
0
 def test_2_tiles_3_rows(self):
     self.assertEqual(1, how_many_ways(2, 3))
Пример #5
0
 def test_3_tiles_3_rows(self):
     self.assertEqual(2, how_many_ways(3, 3))
Пример #6
0
 def test_5_tiles(self):
     self.assertEqual(8, how_many_ways(5))
Пример #7
0
 def test_34_tiles(self):
     self.assertEqual(9227465, how_many_ways(34))
Пример #8
0
 def test_2_tiles(self):
     self.assertEqual(2, how_many_ways(2))
Пример #9
0
 def test_4_tiles(self):
     self.assertEqual(5, how_many_ways(4))
Пример #10
0
 def test_4_tiles_3_rows(self):
     self.assertEqual(4, how_many_ways(4, 3))
Пример #11
0
 def test_1_tile(self):
     self.assertEqual(1, how_many_ways(1))
Пример #12
0
 def test_3_tiles_3_rows(self):
     self.assertEqual(2, how_many_ways(3, 3))
Пример #13
0
 def test_2_tiles_3_rows(self):
     self.assertEqual(1, how_many_ways(2, 3))
Пример #14
0
 def test_34_tiles(self):
     self.assertEqual(9227465, how_many_ways(34))
Пример #15
0
 def test_5_tiles(self):
     self.assertEqual(8, how_many_ways(5))
Пример #16
0
 def test_4_tiles(self):
     self.assertEqual(5, how_many_ways(4))