def test_list_1_return_0_0(self): sample_list = [1] response = find_largest_sum(sample_list) self.assertEqual(response, (0, 0))
def test_list_negative_numbers(self): sample_list = [-1]*10 begin, end = find_largest_sum(sample_list) self.assertEqual(begin, end)
def test_list_negative_numbers(self): sample_list = [-1] * 10 begin, end = find_largest_sum(sample_list) self.assertEqual(begin, end)