diff --git a/Framework/PythonInterface/test/python/plugins/algorithms/NMoldyn4InterpolationTest.py b/Framework/PythonInterface/test/python/plugins/algorithms/NMoldyn4InterpolationTest.py index b82e1cb43eace9a6542f7704665000afcaa97b8c..777296f2a74f3193e8c51e275614f14f8a0338df 100644 --- a/Framework/PythonInterface/test/python/plugins/algorithms/NMoldyn4InterpolationTest.py +++ b/Framework/PythonInterface/test/python/plugins/algorithms/NMoldyn4InterpolationTest.py @@ -39,8 +39,8 @@ class NMoldyn4InterpolationTest(unittest.TestCase): self.assertNotEqual(len(inter_X), sim.getAxis(0).length()) self.assertEqual(inter_Q_length, osiris_Q_length) self.assertNotEqual(inter_Q_length, sim.getNumberHistograms()) - self.assertAlmostEqual(sample_Y_data[0], 0.020095312677012457, 12) - self.assertAlmostEqual(sample_Y_data[30], 1.7310334927635238, 12) + self.assertAlmostEqual(sample_Y_data[0], 0.020095312, 9) + self.assertAlmostEqual(sample_Y_data[30], 1.73103349, 7) def test_X_min_too_big(self): x_data = np.arange(-0.5, 2., 0.05) diff --git a/scripts/test/CrystalFieldTest.py b/scripts/test/CrystalFieldTest.py index 1184600b3670905b3853a1f7747cbbfdbd502772..ca09e18ec8fbee002ecd32f647c63d0f6d58a198 100644 --- a/scripts/test/CrystalFieldTest.py +++ b/scripts/test/CrystalFieldTest.py @@ -1031,7 +1031,7 @@ class CrystalFieldFitTest(unittest.TestCase): self.assertAlmostEqual(cf.peaks.param[0]['FWHM'], 1.0112, 4) self.assertAlmostEqual(cf.peaks.param[1]['FWHM'], 1.5811, 4) - self.assertAlmostEqual(cf.peaks.param[2]['FWHM'], 1.7947, 4) + self.assertAlmostEqual(cf.peaks.param[2]['FWHM'], 1.794, 2) def test_resolution_single_spectrum_fit_variation(self): from CrystalField import CrystalField, CrystalFieldFit