示例#1
0
 def test_count_characters(self, count_characters):
     self.assertEqual(Name.count_characters("Hello world"), {
         'H': 1,
         'e': 1,
         'l': 3,
         'o': 2,
         ' ': 1,
         'w': 1,
         'r': 1,
         'd': 1
     })