Пример #1
0
 def test_whole_word(self):
     sentence = "gaga for bonbons"
     self.assertEqual(repeaters(sentence), ['gaga'])
Пример #2
0
 def test_murmur(self):
     self.assertEqual(repeaters('murmur'), ['murmur'])
Пример #3
0
 def test_multiple(self):
     sentence = 'look at those froufrou hotshots'
     self.assertEqual(repeaters(sentence), ['froufrou', 'hotshots'])
Пример #4
0
 def test_tutu(self):
     self.assertEqual(repeaters('tutu'), ['tutu'])
Пример #5
0
 def test_cancan(self):
     self.assertEqual(repeaters('cancan'), ['cancan'])
 def test_whole_word(self):
     sentence = "gaga for bonbons"
     self.assertEqual(repeaters(sentence), ['gaga'])
 def test_multiple(self):
     sentence = 'look at those froufrou hotshots'
     self.assertEqual(repeaters(sentence), ['froufrou', 'hotshots'])
 def test_murmur(self):
     self.assertEqual(repeaters('murmur'), ['murmur'])
 def test_cancan(self):
     self.assertEqual(repeaters('cancan'), ['cancan'])
 def test_tutu(self):
     self.assertEqual(repeaters('tutu'), ['tutu'])