def testRecursiveBinarySearch17(self): array = [5, 23, 111] target = 3 expected_result = -1 actual_result = recursive_binary_search(array, target) self.assertEqual(actual_result, expected_result)
def testRecursiveBinarySearch15(self): array = [0, 1, 21, 33, 45, 45, 61, 71, 72, 73, 355] target = 354 expected_result = -1 actual_result = recursive_binary_search(array, target) self.assertEqual(actual_result, expected_result)