Receiver test: expect the own blade-rate line from the shaft model

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAa6fnf7M4fKm56aJXHvKS
This commit is contained in:
Claude committed 2026-10-05 11:11:49 +00:00
1 parent 55587db851
commit 572e3fd9aa
1 file changed
+3 -1
+3 -1
View File
@@ -5,6 +5,7 @@ import pytest
from src.audio.receiver import AcousticReceiver, smooth_limit
from src.core import config
from src.physics import ship_dynamics
from src.data.catalog import CATALOG
@@ -189,7 +190,8 @@ def test_noise_only_not_identified_even_at_high_noise_and_speed():
for i in range(80):
receiver.update([], 0, 30, 1, 9, 30)
assert receiver.demon_analysis is None
assert any(abs(freq - 67) <= .5 for freq, _ in receiver.peaks)
shaft_hz = ship_dynamics.own_blade_line_hz(30)
assert any(abs(freq - shaft_hz) <= .5 for freq, _ in receiver.peaks)
assert run([]).peaks == []