bandsaunter/tests
The Dust Council 3a253d918f Flash an aircraft's ring red when it is actually heard
The rings travelling out from each aircraft on the live map kept their own
slow rhythm and said only that something was somewhere about.  Now a ring
turns bright red, and thicker, the moment a frame from that aircraft
arrives, held for a few repaints and then cooling back to its own colour
over half a second.  An aeroplane that is flashing is one being heard right
now rather than one that was.

The receiver is read a block at a time, so frames reach the window in
bursts.  Flashing each on arrival would flash every aeroplane at once, once
a block, which says when the block ended rather than when anything was
heard.  So frames are replayed at their own times, late by however late
they have been turning up over the last ten seconds (believed up to three):
the rhythm is the real one, a beat behind.  A listener that does not report
frames one at a time still counts, through each mark's last-heard time.

Four tests: the flash's shape over time, the replay at a lag, a mark
updated without frames, and red pixels actually drawn round a fresh
aircraft and none round a stale one.

Full suite 2901 passed, 4 skipped.  Built as 2026-11-25_01.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:42:32 -07:00
..
adsb_gen.py Read the pictures, the aircraft, the meters and the sensors 2026-08-29 19:38:37 -07:00
conftest.py Aircraft, from the menus, on a live board, over a real map 2026-09-04 00:05:32 -07:00
image_gen.py Read the pictures, the aircraft, the meters and the sensors 2026-08-29 19:38:37 -07:00
morse_gen.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
signals.py Decode data signals, starting with on-off keying 2026-08-28 12:55:37 -07:00
speech.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
terminal.py Deal with the recordings, not just read them 2026-08-29 13:21:32 -07:00
test_acurite.py Say how strongly each sensor is being heard, and how much of it arrives 2026-09-07 23:50:37 -07:00
test_aircraft_display.py Give the aerodromes a colour of their own, and say what each aircraft is 2026-09-04 22:45:41 -07:00
test_aircraft_menu.py Cover every option in the help, the manual and the readme, and say what to install 2026-09-06 14:12:33 -07:00
test_announce.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
test_aprs.py Cache what has been looked up, make it browsable, and say where this lives 2026-09-24 00:36:18 -07:00
test_ax25.py Read the APRS channel: who is out there, and what they said 2026-09-20 19:36:30 -07:00
test_bands.py Name the band beside every frequency, and map who was heard 2026-08-28 11:02:56 -07:00
test_basemap.py Cache what has been looked up, make it browsable, and say where this lives 2026-09-24 00:36:18 -07:00
test_browse.py Draw the waterfall for everything that never spoke 2026-09-03 18:36:00 -07:00
test_callsign.py Hear the short replies, and read the other kind of callsign 2026-09-02 00:30:02 -07:00
test_classify.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
test_decode.py Decode data signals, starting with on-off keying 2026-08-28 12:55:37 -07:00
test_dsp.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
test_flags.py A window on the sky, and flags on the routes 2026-09-04 13:38:47 -07:00
test_flightmap.py Make the aircraft breathe, and send a ring out from each of them 2026-09-06 17:03:16 -07:00
test_flights.py Give the aerodromes a colour of their own, and say what each aircraft is 2026-09-04 22:45:41 -07:00
test_ft8.py Cache what has been looked up, make it browsable, and say where this lives 2026-09-24 00:36:18 -07:00
test_ident.py Hear the short replies, and read the other kind of callsign 2026-09-02 00:30:02 -07:00
test_images.py Ask a service that knows which leg it is, and fetch a map worth the screen 2026-09-04 20:19:53 -07:00
test_kml.py Hear the short replies, and read the other kind of callsign 2026-09-02 00:30:02 -07:00
test_licence.py Ask for what is needed, and nothing that is not 2026-09-25 08:29:20 -07:00
test_livemap.py Flash an aircraft's ring red when it is actually heard 2026-11-25 00:42:32 -07:00
test_manage.py Deal with the recordings, not just read them 2026-08-29 13:21:32 -07:00
test_manpage.py Read the APRS channel: who is out there, and what they said 2026-09-20 19:36:30 -07:00
test_morse.py Read the Morse a station sends over its own carrier 2026-09-02 07:57:18 -07:00
test_packets.py Read the APRS channel: who is out there, and what they said 2026-09-20 19:36:30 -07:00
test_quality.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
test_ranges.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
test_register.py Cache what has been looked up, make it browsable, and say where this lives 2026-09-24 00:36:18 -07:00
test_resize.py Redraw cleanly when the window is resized 2026-08-28 15:47:36 -07:00
test_scanner.py Remember runtime lock-outs, and let a lock-out be a span 2026-08-21 23:44:24 -07:00
test_schedules.py Ask a service that knows which leg it is, and fetch a map worth the screen 2026-09-04 20:19:53 -07:00
test_settings.py Remember runtime lock-outs, and let a lock-out be a span 2026-08-21 23:44:24 -07:00
test_signals_named.py Read the weather sensors on 433 MHz, and let them be given names 2026-09-07 13:40:33 -07:00
test_splash.py Cache what has been looked up, make it browsable, and say where this lives 2026-09-24 00:36:18 -07:00
test_ssb.py Tune SSB to the carrier, and read the sideband from the signal 2026-08-21 23:09:44 -07:00
test_themes.py Let the map brightness reach the map, and put the options in groups 2026-09-06 12:26:00 -07:00
test_transcribe.py Hear the short replies, and read the other kind of callsign 2026-09-02 00:30:02 -07:00
test_trunk.py Recognise trunking control channels, and refuse to sit on them 2026-08-22 14:22:49 -07:00
test_tui.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
test_ui.py Initial commit: bandsaunter, an RTL-SDR signal scanner 2026-08-21 20:50:20 -07:00
test_version.py Add packaging, date-based versioning, and full install docs 2026-08-21 21:05:51 -07:00
test_waterfall.py Never call a string of Morse tones "words" 2026-09-03 21:44:14 -07:00
test_weather.py Show a sensor's identity in both bases, and take either 2026-09-20 14:47:08 -07:00