Skip to content

Commit

Permalink
adds failure test for no out angles
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbhughes committed Jul 18, 2024
1 parent 74afb91 commit d602ad5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ def test_btbr_to_npol(btbr_ones):
assert isinstance(result, NDCollection)


def test_btbr_to_npol_missing_out_angles(btbr_ones):
with pytest.raises(ValueError):
resolve(btbr_ones, "npol")


def test_imax_effect(mzp_data):
result = resolve(mzp_data, "MZP", imax_effect=True)
assert isinstance(result, NDCollection)
Expand Down

0 comments on commit d602ad5

Please sign in to comment.