コード例 #1
0
ファイル: test_strings.py プロジェクト: hwasungmars/qi-python
 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
ファイル: test_strings.py プロジェクト: hwasungmars/qi-python
 def test_is_unique(self):
     """Test whether we have uniq chars."""
     self.assertFalse(strings.is_unique("hello"))
     self.assertTrue(strings.is_unique("abc"))