def test_gooey(self): sentence = "A is gooey but B is gooier and C is gooiest" self.assertEqual(tetravocalic(sentence.replace(' ', '\n')), ['gooier', 'gooiest'])
def test_non_consecutive(self): self.assertEqual(tetravocalic("aeixou"), [])
def test_onomatopoeia(self): self.assertEqual(tetravocalic("onomatopoeia"), ['onomatopoeia'])
def test_four_vowels(self): self.assertEqual(tetravocalic("aeio"), ['aeio'])
def test_five_vowels(self): self.assertEqual(tetravocalic("aeiou"), ['aeiou'])
def test_gooey(self): sentence = "A is gooey but B is gooier and C is gooiest" self.assertEqual( tetravocalic(sentence.replace(' ', '\n')), ['gooier', 'gooiest'] )
def test_three_vowels(self): self.assertEqual(tetravocalic("aei"), [])