Skip to content

Commit

Permalink
using almist equal
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoelles committed Sep 21, 2023
1 parent fcce3b3 commit 778a0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 778a0df

Please sign in to comment.