예제 #1
0
파일: tests.py 프로젝트: tuxella/pydici
 def test_cumulateList(self):
     self.assertListEqual(cumulateList([1, 2, 3]), [1, 3, 6])
     self.assertListEqual(cumulateList([]), [])
     self.assertListEqual(cumulateList([8]), [8])
예제 #2
0
파일: tests.py 프로젝트: wejade/pydici
 def test_cumulateList(self):
     self.assertListEqual(cumulateList([1, 2, 3]), [1, 3, 6])
     self.assertListEqual(cumulateList([]), [])
     self.assertListEqual(cumulateList([8]), [8])