From 4802f7b0d99bddc6c699facfddc890b903cf8103 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bayle <j2b.bayle@gmail.com> Date: Thu, 14 Apr 2022 10:53:09 +0200 Subject: [PATCH] Test total locking beatnotes --- tests/test_fplan.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_fplan.py b/tests/test_fplan.py index 93e2d1d..6810f9b 100755 --- a/tests/test_fplan.py +++ b/tests/test_fplan.py @@ -114,10 +114,10 @@ def test_static_fplan_valid_with_all_lock_configs(): instru.simulate() for mosa in instru.MOSAS: - assert np.all(5E6 < np.abs(instru.isi_carrier_offsets[mosa]) < 25E6) - assert np.all(5E6 < np.abs(instru.isi_usb_offsets[mosa]) < 25E6) - assert np.all(5E6 < np.abs(instru.rfi_carrier_offsets[mosa]) < 25E6) - assert np.all(5E6 < np.abs(instru.rfi_usb_offsets[mosa]) < 25E6) + assert np.all(5E6 < np.abs(instru.isi_carriers[mosa]) < 25E6) + assert np.all(5E6 < np.abs(instru.isi_usbs[mosa]) < 25E6) + assert np.all(5E6 < np.abs(instru.rfi_carriers[mosa]) < 25E6) + assert np.all(5E6 < np.abs(instru.rfi_usbs[mosa]) < 25E6) def test_constant_equal_fplan(): """Test a user-defined constant equal fplan.""" -- GitLab