Skip to content

Commit

Permalink
updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed May 7, 2024
1 parent fa875e9 commit c310a85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions measure_extinction/tests/test_EbvAvRv.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def test_calc_av():
text.calc_AV()
av = text.columns["AV"]
assert isinstance(av, tuple)
assert np.isclose(av[0], 0.56306, atol=1e-3)
assert np.isclose(av[1], 0.02252, atol=1e-3)
assert np.isclose(av[0], 0.55866, atol=1e-3)
assert np.isclose(av[1], 0.02235, atol=1e-3)


def test_calc_rv_fromelv():
Expand All @@ -38,8 +38,8 @@ def test_calc_rv_fromelv():
text.calc_RV()
rv = text.columns["RV"]
assert isinstance(rv, tuple)
assert np.isclose(rv[0], 3.37837, atol=1e-3)
assert np.isclose(rv[1], 0.207647, atol=1e-3)
assert np.isclose(rv[0], 3.351955, atol=1e-3)
assert np.isclose(rv[1], 0.206023, atol=1e-3)


def test_calc_rv_fromebvav():
Expand Down

0 comments on commit c310a85

Please sign in to comment.