Пример #1
0
 def test_equals_2(self):
     self.assertEqual(consonant_count('aaaaa'), 0)
Пример #2
0
 def test_equals(self):
     self.assertEqual(consonant_count(''), 0)
Пример #3
0
 def test_equals_4(self):
     self.assertEqual(consonant_count('helLo world'), 7)
Пример #4
0
 def test_equals_5(self):
     self.assertEqual(consonant_count('h^$&^#$&^elLo world'), 7)
Пример #5
0
 def test_equals_3(self):
     self.assertEqual(consonant_count('Bbbbb'), 5)