diff --git a/webgeodyn/tests/test_covobs_splines.py b/webgeodyn/tests/test_covobs_splines.py index 6f79f9ddfe6ea758bc367b9c7cb7147d431d3338..91686d3f3b9c2c1d4bbd65e18faa8a121b2c60b5 100644 --- a/webgeodyn/tests/test_covobs_splines.py +++ b/webgeodyn/tests/test_covobs_splines.py @@ -45,13 +45,13 @@ class TestBuildingFromSplines(unittest.TestCase): self.assertEqual(covspl.eval_spline(eval_date, center_date, self.spl_order, self.knot_sp), 0.) def test_building_gnm_few_splines(self): - """ Test the method building from the splines around the date asked """ + """ Test the method building from the splines """ dates_gnm, gnm = covspl.build_gnm_from_spline_coeffs(self.dates_benchmark, self.spl_dates, self.spl_coeffs, self.spl_order, with_derivative=False) self.assertTrue(np.alltrue(np.abs(gnm - self.gnm_benchmark) < ABS_TOL)) def test_building_gnm_all_splines(self): - """ Test the method building from all the splines """ - dates_gnm, gnm = covspl.build_gnm_from_spline_coeffs_all_splines(self.dates_benchmark, self.spl_dates, self.spl_coeffs, self.spl_order) + """ Test the old method building from all the splines """ + dates_gnm, gnm = covspl.build_gnm_from_spline_coeffs_old(self.dates_benchmark, self.spl_dates, self.spl_coeffs, self.spl_order, with_derivative=False, all_splines=True) self.assertTrue(np.alltrue(np.abs(gnm - self.gnm_benchmark) < ABS_TOL)) def test_building_methods(self):