From 26eda4fb7e524a424b08abbcfd53f262a1b8297e Mon Sep 17 00:00:00 2001 From: Loic Huder <loic.huder@univ-grenoble-alpes.fr> Date: Tue, 22 Oct 2019 12:43:31 +0200 Subject: [PATCH] Quick fix 0.9.1 --- webgeodyn/tests/test_covobs_splines.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webgeodyn/tests/test_covobs_splines.py b/webgeodyn/tests/test_covobs_splines.py index 6f79f9d..91686d3 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): -- GitLab