Ejemplo n.º 1
0
 def test_list_1_return_0_0(self):
     sample_list = [1]
     response = find_largest_sum(sample_list)
     self.assertEqual(response, (0, 0))
Ejemplo n.º 2
0
 def test_list_1_return_0_0(self):
     sample_list = [1]
     response = find_largest_sum(sample_list)
     self.assertEqual(response, (0, 0))
Ejemplo n.º 3
0
 def test_list_negative_numbers(self):
     sample_list = [-1]*10
     begin, end = find_largest_sum(sample_list)
     self.assertEqual(begin, end)
Ejemplo n.º 4
0
 def test_list_negative_numbers(self):
     sample_list = [-1] * 10
     begin, end = find_largest_sum(sample_list)
     self.assertEqual(begin, end)