def test_find_pangram_two(self): text = ("The best known pangram: The quick brown fox jumps over the " "lazy dog. Followed by a perfect pangram: Cwm fjord bank " "glyphs vext quiz") found, index = pangram.find_pangram(text) self.assertEqual(found, "Cwm fjord bank glyphs vext quiz")
def test_find_pangram(self): text = (" - Wikipedia The quick brown fox jumps over the lazy dog is " "an English-language pangram—a phrase that contains all of " "the letters of the alphabet. It is used to show font") found, index = pangram.find_pangram(text) self.assertEqual(found, "quick brown fox jumps over the lazy dog")