def testStaibDatsmoothSize(self): """smooth should return an array of the same size as what it was given""" SD = StaibDat(self.filename) self.assertEqual(SD.smooth("C1").shape[0], SD["C1"].shape[0])
def testStaibDatsmoothSize(self): """smooth should return an array of the same size as what it was given""" SD = StaibDat(self.filename) self.assertEqual(SD.smooth("C1").shape[0],SD["C1"].shape[0])
def testStaibDatsmoothArray(self): """smooth should return a numpy array""" SD = StaibDat(self.filename) self.assertEqual(type(SD.smooth("C1")), numpy.ndarray)
def testStaibDatsmoothArray(self): """smooth should return a numpy array""" SD = StaibDat(self.filename) self.assertEqual(type(SD.smooth("C1")),numpy.ndarray)