Esempio n. 1
0
 def test_five(self):
     self.assertEqual(8, count_vowels("A nice day to code!"))
Esempio n. 2
0
 def test_four(self):
     self.assertEqual(22, count_vowels("Github is the second best thing that happend to programmers, after the keyboard!"))
Esempio n. 3
0
 def test_two(self):
     self.assertEqual(8, count_vowels("Theistareykjarbunga"))
Esempio n. 4
0
 def test_three(self):
     self.assertEqual(0, count_vowels("grrrrgh!"))
Esempio n. 5
0
 def test_one(self):
     self.assertEqual(2, count_vowels("Python"))