From 778a0df9413d77c9d74a21dc3c29b2cb6a68e9ef Mon Sep 17 00:00:00 2001 From: tgoelles Date: Thu, 21 Sep 2023 06:36:17 +0000 Subject: [PATCH] using almist equal --- tests/test_methods.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_methods.py b/tests/test_methods.py index 66fdfd3..ddd2f5b 100644 --- a/tests/test_methods.py +++ b/tests/test_methods.py @@ -37,5 +37,5 @@ def test_spectral_albedo(testdata_specim: SpecArray): check.is_true(spectral_albedo.coords["wavelength"].equals(testdata_specim.capture.coords["wavelength"])) check.greater_equal(spectral_albedo.min(), 0.0) check.less_equal(spectral_albedo.min(), 1.0) - check.equal(single_value_min, 0.2482758620689655) - check.equal(single_value_max, 0.7558048525958779) + check.almost_equal(single_value_min, 0.2482758620689655) + check.almost_equal(single_value_max, 0.7558048525958779)