Esempio n. 1
0
 def test_remove_duplicate_words_none_exist(self):
     phrase = 'alpha'
     result = se.remove_duplicate_words(phrase)
     self.assertEqual('alpha', result)
Esempio n. 2
0
 def test_remove_duplicate_words_multiple_duplicates(self):
     phrase = 'alpha beta alpha alpha beta delta alpha'
     result = se.remove_duplicate_words(phrase)
     self.assertEqual('alpha beta delta', result)