diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 13:44:43 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 13:44:43 +0100 |
| commit | ef457271e2d05b7459c06e12b03765dfef9ed791 (patch) | |
| tree | be22bc37e4553339f26282e33b1ea4d49136ab4a /src/generated/test_demo_assets_data.cc | |
| parent | c0680b7cca988400838ba4eac3d5f17f8ab45d22 (diff) | |
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/generated/test_demo_assets_data.cc')
0 files changed, 0 insertions, 0 deletions
