def test_all_casings(self): # 2^9 input_string = "Set-Cookie" x = 0 for casing in all_casings(input_string): x = x + 1 self.assertEqual(x, 512) # 2^0 input_string = "" x = 0 for casing in all_casings(input_string): x = x + 1 self.assertEqual(x, 1)