def test_acf(self):
     acf_py = wrappers.acf(self.oil_py, lag_max=10)
     self.assertEqual(acf_py.name, 'Acf')
     self.assertEqual(len(acf_py), 10)
     acf_r = self.fc.Acf(self.oil_r, plot=False, lag_max=10)
     self.assertAlmostEqual(acf_py[1], acf_r.rx2('acf')[1], places=3)
     self.assertAlmostEqual(acf_py[10], acf_r.rx2('acf')[10], places=3)
 def test_acf(self):
   acf_py = wrappers.acf(self.oil_py, lag_max=10)
   self.assertEqual(acf_py.name, 'Acf')
   self.assertEqual(len(acf_py), 10)
   acf_r = self.fc.Acf(self.oil_r, plot=False, lag_max=10)
   self.assertAlmostEqual(acf_py[1], acf_r.rx2('acf')[1], places=3)
   self.assertAlmostEqual(acf_py[10], acf_r.rx2('acf')[10], places=3)
 def test_acf(self):
   acf = wrappers.acf(self.oil, lag_max=10)
   self.assertEqual(acf.name, 'Acf')
   self.assertEqual(len(acf), 10)
   self.assertAlmostEqual(acf[1], 0.8708, places=3)
   self.assertAlmostEqual(acf[10], -0.2016, places=3)