This commit is contained in:
awe
2026-03-26 20:01:56 +03:00
parent 64e66933e4
commit 5152314f21
10 changed files with 377 additions and 110 deletions

View File

@ -84,6 +84,7 @@ class RingBufferTests(unittest.TestCase):
expected = compute_fft_mag_row(complex_input, freqs, ring.fft_bins, mode="direct")
self.assertTrue(np.allclose(ring.get_last_fft_linear(), expected))
self.assertFalse(np.iscomplexobj(ring.get_display_fft_linear()))
self.assertTrue(np.allclose(ring.get_display_raw()[: display_sweep.size, -1], display_sweep))
def test_ring_buffer_reset_clears_cached_history(self):