def test_at_end_of_list(self): self.assertEqual(find_contiguous_sum([1, 1, 3], 4), (1, 3))
def test_in_middle_of_list(self): self.assertEqual(find_contiguous_sum([1, 2, 3, 4], 5), (1, 3))
def test_does_not_exist(self): self.assertEqual(find_contiguous_sum([2, 3], 1), (-1, -1))
def test_at_start_of_list(self): self.assertEqual(find_contiguous_sum([1, 1, 3], 2), (0, 2))
def test_empty(self): self.assertEqual(find_contiguous_sum([], 1), (-1, -1))