예제 #1
0
 def test_is_unique_without_extra(self):
     """Test whether we have uniq chars without additional structure."""
     self.assertFalse(strings.is_unique("hello"))
     self.assertTrue(strings.is_unique("abc"))
예제 #2
0
 def test_is_unique(self):
     """Test whether we have uniq chars."""
     self.assertFalse(strings.is_unique("hello"))
     self.assertTrue(strings.is_unique("abc"))