Exemple #1
0
 def test_1(self):
     self.assertEqual(10, longest_substring_length('abrkaabcdefghijjxxx'))
Exemple #2
0
 def test_2(self):
     self.assertEqual(1, longest_substring_length('a'))
Exemple #3
0
 def test_3(self):
     self.assertEqual(12, longest_substring_length('abcabcdefghijklabc'))