Skip to content

Commit

Permalink
tests: improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Oct 2, 2023
1 parent ebf5a16 commit f67a368
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_fmt_jpk_single.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ def test_meta_missing():
meta_override={"spring constant": 12})
meta = data_list[0]["metadata"]
assert meta["spring constant"] == 12
# The sensitivity is stored in the file already.
assert np.allclose(data_list[0]["data"]["force"][0],
-5.261711536426128e-07,
atol=1e-12)


def test_meta_override_multiple_times():
Expand Down

0 comments on commit f67a368

Please sign in to comment.