Skip to content

Commit

Permalink
✅ undo test change that causes odd fail
Browse files Browse the repository at this point in the history
  • Loading branch information
apearce committed Nov 13, 2024
1 parent 272cf03 commit 4688424
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions tests/integration/test_pfcoil_int.py
Original file line number Diff line number Diff line change
Expand Up @@ -2306,13 +2306,13 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil):
"ric",
np.array(
[
14.74206383,
20.03268163,
-8.10989134,
-8.10989134,
-5.5984385,
-5.5984385,
-186.987516,
14.742063826112622,
20.032681634901664,
-8.1098913365453491,
-8.1098913365453491,
-5.5984385047179153,
-5.5984385047179153,
-186.98751599968148,
0,
0,
0,
Expand Down Expand Up @@ -2621,7 +2621,10 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil):
bzo_exp = -6.438987

bri, bro, bzi, bzo = pfcoil.peakb(i, ii, it)

print(bri)
print(bro)
print(bzi)
print(bzo)
assert pytest.approx(bri) == bri_exp
assert pytest.approx(bro) == bro_exp
assert pytest.approx(bzi) == bzi_exp
Expand Down

0 comments on commit 4688424

Please sign in to comment.