예제 #1
0
파일: test.py 프로젝트: abeltje1/dojo
 def test_list_1_return_0_0(self):
     sample_list = [1]
     response = find_largest_sum(sample_list)
     self.assertEqual(response, (0, 0))
예제 #2
0
파일: test.py 프로젝트: amintasvrp/dojo
 def test_list_1_return_0_0(self):
     sample_list = [1]
     response = find_largest_sum(sample_list)
     self.assertEqual(response, (0, 0))
예제 #3
0
파일: test.py 프로젝트: abeltje1/dojo
 def test_list_negative_numbers(self):
     sample_list = [-1]*10
     begin, end = find_largest_sum(sample_list)
     self.assertEqual(begin, end)
예제 #4
0
파일: test.py 프로젝트: amintasvrp/dojo
 def test_list_negative_numbers(self):
     sample_list = [-1] * 10
     begin, end = find_largest_sum(sample_list)
     self.assertEqual(begin, end)