def test_too_short(self): self.assertEqual(no_repeats('authorize'), [])
def test_multiple(self): words = "the\ntambourines\nnefariously\nclamouring\neverywhere" self.assertEqual( no_repeats(words), ['tambourines', 'nefariously', 'clamouring'] )
def test_background(self): self.assertEqual(no_repeats("background"), ['background'])