def test_three_words(self):
     sentence = 'The granddaddy of all dispossessed squeegees.'
     self.assertEqual(double_double(sentence.replace(' ', '\n')),
                      ['granddaddy', 'dispossessed', 'squeegees'])
 def test_beekeeper(self):
     self.assertEqual(double_double('beekeeper'), ['beekeeper'])
 def test_two_words(self):
     words = 'Your freebees need more pizzazz.'.replace(' ', '\n')
     self.assertEqual(double_double(words), ['freebees', 'pizzazz'])
 def test_singles(self):
     self.assertEqual(double_double('aba'), [])
 def test_triples(self):
     self.assertEqual(double_double('aaabaaa'), ['aaabaaa'])
 def test_one_in_between(self):
     self.assertEqual(double_double('eexee'), ['eexee'])
 def test_two_in_between(self):
     self.assertEqual(double_double('eexxee'), [])
 def test_two_words(self):
     words = 'Your freebees need more pizzazz.'.replace(' ', '\n')
     self.assertEqual(double_double(words), ['freebees', 'pizzazz'])
 def test_three_words(self):
     sentence = 'The granddaddy of all dispossessed squeegees.'
     self.assertEqual(
         double_double(sentence.replace(' ', '\n')),
         ['granddaddy', 'dispossessed', 'squeegees']
     )
 def test_beekeeper(self):
     self.assertEqual(double_double('beekeeper'), ['beekeeper'])
 def test_triples(self):
     self.assertEqual(double_double('aaabaaa'), ['aaabaaa'])
 def test_singles(self):
     self.assertEqual(double_double('aba'), [])
 def test_two_in_between(self):
     self.assertEqual(double_double('eexxee'), [])
 def test_one_in_between(self):
     self.assertEqual(double_double('eexee'), ['eexee'])