Пример #1
0
 def test_convert_direct_02(self):
     ''' Test of convert API with set factor and offset.
     '''
     out = tstoolbox.convert(input_ts='tests/data_simple.csv',
                             factor=2,
                             offset=2)
     assert_frame_equal(out, self.compare_direct_02)
Пример #2
0
 def test_convert_direct_01(self):
     """Test of convert API with default factor and offset."""
     out = tstoolbox.convert(input_ts="tests/data_simple.csv")
     assert_frame_equal(out, self.compare_direct_01)