예제 #1
0
파일: test.py 프로젝트: abeltje1/dojo
 def test_sum_interval_another_example(self):
     sample_list = [1, 2, 3, 4, 5, 6]
     total = sum_interval(sample_list, 0, 1)
     self.assertEqual(total, 3)
예제 #2
0
파일: test.py 프로젝트: amintasvrp/dojo
 def test_sum_interval_another_example(self):
     sample_list = [1, 2, 3, 4, 5, 6]
     total = sum_interval(sample_list, 0, 1)
     self.assertEqual(total, 3)
예제 #3
0
파일: test.py 프로젝트: abeltje1/dojo
 def test_sum_interval(self):
     sample_list = [1, 2, 3, 4]
     total = sum_interval(sample_list, 0, 2)
     self.assertEqual(total, 6)
예제 #4
0
파일: test.py 프로젝트: amintasvrp/dojo
 def test_sum_interval(self):
     sample_list = [1, 2, 3, 4]
     total = sum_interval(sample_list, 0, 2)
     self.assertEqual(total, 6)