summaryrefslogtreecommitdiff
path: root/internal/processor
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-25 23:09:20 +0300
committerPaul Buetow <paul@buetow.org>2026-04-25 23:09:20 +0300
commitb163e32473aba57936283a39c5d62089bebab46d (patch)
treee044fd4ec49bbeade50628618100f6a11d4d8b90 /internal/processor
parent4113718e472116ef73b79701bde41014481cee50 (diff)
Add ambient music and wild-mode tests
- generator_test.go: - TestThemeSoundPresetsAmbientPopulated: every theme has Ambient.Normal and Ambient.Wild with at least one drone or pulse frequency. - TestThemeSoundPresetsAmbientValuesBounded: gains/durations/intervals are positive and below conservative max values. - TestThemeSoundsJSON_neonAmbientRoundTrip: themeSoundsJSON unmarshals and contains ambient.normal and ambient.wild. - integration_test.go: - TestKeyboardNavJS: verify p=ambient, f=flash hotkeys and nav hints. - TestIndexHTMLBakesSounds: verify index.html bakes window.SNONUX_SOUNDS. - TestThemeSelection: dynamically test all registered themes and assert generated sounds.json includes ambient data for each.
Diffstat (limited to 'internal/processor')
0 files changed, 0 insertions, 0 deletions