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