summaryrefslogtreecommitdiff
path: root/src/platform/platform.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-08 13:44:43 +0100
committerskal <pascal.massimino@gmail.com>2026-02-08 13:44:43 +0100
commitef457271e2d05b7459c06e12b03765dfef9ed791 (patch)
treebe22bc37e4553339f26282e33b1ea4d49136ab4a /src/platform/platform.cc
parentc0680b7cca988400838ba4eac3d5f17f8ab45d22 (diff)
refactor(tests): Factor common patterns in tempo testsHEADmain
Reduced test code duplication by adding helpers within each file: - setup_audio_test(): eliminates 6-line init boilerplate - simulate_tempo(): replaces repeated tempo simulation loops - simulate_tempo_fn(): supports variable tempo with lambda Results: - test_variable_tempo.cc: 394→296 lines (-25%) - test_tracker_timing.cc: 322→309 lines (-4%) - Total: -111 lines, all 31 tests passing Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/platform/platform.cc')
0 files changed, 0 insertions, 0 deletions