Exemplo n.º 1
0
 def test_string_has_2_letters_second_example(self):
     result = determine_if_string_has_2_letters_that_appear_twice_without_overlap('aabcdefgaa')
     self.assertEqual(1, result)
Exemplo n.º 2
0
 def test_string_does_not_have_2_letters_has_overlap_third_example(self):
     result = determine_if_string_has_2_letters_that_appear_twice_without_overlap('aaa')
     self.assertEqual(0, result)
Exemplo n.º 3
0
 def test_string_has_2_letters_first_example(self):
     result = determine_if_string_has_2_letters_that_appear_twice_without_overlap('xyxy')
     self.assertEqual(1, result)