def test_whole_word(self): sentence = "gaga for bonbons" self.assertEqual(repeaters(sentence), ['gaga'])
def test_murmur(self): self.assertEqual(repeaters('murmur'), ['murmur'])
def test_multiple(self): sentence = 'look at those froufrou hotshots' self.assertEqual(repeaters(sentence), ['froufrou', 'hotshots'])
def test_tutu(self): self.assertEqual(repeaters('tutu'), ['tutu'])
def test_cancan(self): self.assertEqual(repeaters('cancan'), ['cancan'])