diff --git a/tests/integration/test_pfcoil_int.py b/tests/integration/test_pfcoil_int.py index 6fb75ec7..8e8b6c73 100644 --- a/tests/integration/test_pfcoil_int.py +++ b/tests/integration/test_pfcoil_int.py @@ -2397,13 +2397,13 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil): "waves", np.array( [ - [0.0, 0.00457346, 0.00457346, 0.00457346, 1.0, 0.0], - [0.0, -0.14559845, -0.14559845, -0.14559845, 1.0, 0.0], - [0.0, 1.0, 1.0, 1.0, -0.07156774, 0.0], - [0.0, 1.0, 1.0, 1.0, -0.07156774, 0.0], - [0.0, 1.0, 1.0, 1.0, -0.07676189, 0.0], - [0.0, 1.0, 1.0, 1.0, -0.07676189, 0.0], - [0.0, 1.0, 1.0, 1.0, -0.93176, 0.0], + [0.0, 1.0, 0.00457346, 0.00457346, 0.00457346, 0.0], + [0.0, 1.0, -0.14559845, -0.14559845, -0.14559845, 0.0], + [0.0, -0.07156774, 1.0, 1.0, 1.0, 0.0], + [0.0, -0.07156774, 1.0, 1.0, 1.0, 0.0], + [0.0, -0.07676189, 1.0, 1.0, 1.0, 0.0], + [0.0, -0.07676189, 1.0, 1.0, 1.0, 0.0], + [0.0, -0.93176, 1.0, 1.0, 1.0, 0.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], @@ -2492,13 +2492,13 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil): "curpfb", np.array( [ - 0.067422231232391661, - -2.9167273287450968, - -8.1098913365453491, - -8.1098913365453491, - -5.5984385047179153, - -5.5984385047179153, - -186.98751599968148, + 14.742063826112622, + 20.032681634901664, + 0.58040662653667285, + 0.58040662653667285, + 0.42974674788703021, + 0.42974674788703021, + 174.22748790786324, 0, 0, 0, @@ -2552,13 +2552,13 @@ def test_peakb(monkeypatch: pytest.MonkeyPatch, pfcoil: PFCoil): "curpfs", np.array( [ - 14.742063826112622, - 20.032681634901664, - 0.58040662653667285, - 0.58040662653667285, - 0.42974674788703021, - 0.42974674788703021, - 174.22748790786324, + 0.067422231232391661, + -2.9167273287450968, + -8.1098913365453491, + -8.1098913365453491, + -5.5984385047179153, + -5.5984385047179153, + -186.98751599968148, 0, 0, 0, @@ -2621,10 +2621,7 @@ 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