Exemple #1
0
 def test_too_long(self):
     self.assertEqual(have_all_vowels('educational'), [])
Exemple #2
0
 def test_vowels_out_of_order(self):
     self.assertEqual(have_all_vowels("euphoria"), ['euphoria'])
Exemple #3
0
 def test_multiple_words(self):
     words = "Let's have a dialogue about education.".replace(" ", "\n")
     self.assertEqual(have_all_vowels(words), ['dialogue', 'education'])
Exemple #4
0
 def test_vowels_in_order(self):
     self.assertEqual(have_all_vowels("facetious"), ['facetious'])
 def test_too_long(self):
     self.assertEqual(have_all_vowels('educational'), [])
 def test_multiple_words(self):
     words = "Let's have a dialogue about education.".replace(" ", "\n")
     self.assertEqual(have_all_vowels(words), ['dialogue', 'education'])
 def test_vowels_out_of_order(self):
     self.assertEqual(have_all_vowels("euphoria"), ['euphoria'])
 def test_vowels_in_order(self):
     self.assertEqual(have_all_vowels("facetious"), ['facetious'])