コード例 #1
0
 def test_createChildren(self):
     self._assertCreateChildren([RawDataStatUnsplittable],
                                SampleTV_Num(anchor=[10, 100]))
コード例 #2
0
 def test_compute(self):
     self._assertCompute([3, 10.0],\
                          SampleTV( segments=[[0,1],[2,4]], anchor=[10,15] ),\
                          SampleTV_Num( vals=[1.0, 1.5, 2.0, 2.5, 3.0], anchor=[10,15] ),\
                          CountStat, SumStat, assertFunc=self._assertList)