Example #1
0
 def test_310(self):
    self.assertEqual(
        12,
        len(hit_the_number(310)),
     )
Example #2
0
 def test_495(self):
    self.assertEqual(
        12,
        len(hit_the_number(495)),
     )
Example #3
0
 def test_600(self):
    self.assertEqual(
        12,
        len(hit_the_number(600)),
         # (1, 2, 4, 8, 16, 32, 48, 49, 81, 162, 211,),
     )
Example #4
0
 def test_211(self):
    self.assertEqual(
        11,
        len(hit_the_number(211)),
         # (1, 2, 4, 8, 16, 32, 48, 49, 81, 162, 211,),
     )
Example #5
0
 def test_7(self):
     self.assertEqual(
         5,
         len(hit_the_number(7)),
     )
Example #6
0
 def test_one(self):
     self.assertEqual(
         (1,),
         hit_the_number(1),
     )