def test_remove_duplicate_words_none_exist(self): phrase = 'alpha' result = se.remove_duplicate_words(phrase) self.assertEqual('alpha', result)
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)