コード例 #1
0
 def test_too_long(self):
     self.assertEqual(have_all_vowels('educational'), [])
コード例 #2
0
 def test_vowels_out_of_order(self):
     self.assertEqual(have_all_vowels("euphoria"), ['euphoria'])
コード例 #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'])
コード例 #4
0
 def test_vowels_in_order(self):
     self.assertEqual(have_all_vowels("facetious"), ['facetious'])
コード例 #5
0
 def test_too_long(self):
     self.assertEqual(have_all_vowels('educational'), [])
コード例 #6
0
 def test_multiple_words(self):
     words = "Let's have a dialogue about education.".replace(" ", "\n")
     self.assertEqual(have_all_vowels(words), ['dialogue', 'education'])
コード例 #7
0
 def test_vowels_out_of_order(self):
     self.assertEqual(have_all_vowels("euphoria"), ['euphoria'])
コード例 #8
0
 def test_vowels_in_order(self):
     self.assertEqual(have_all_vowels("facetious"), ['facetious'])