def test_generous_128(self):
     self.assertEqual(7, generous(128))
 def test_generous_126(self):
     self.assertEqual(6, generous(126))
 def test_generous_4(self):
     self.assertEqual(2, generous(4))
 def test_generous_3(self):
     self.assertEqual(2, generous(3))
 def test_generous_2(self):
     self.assertEqual(1, generous(2))
 def test_generous_1(self):
     self.assertEqual(1, generous(1))