diff options
Diffstat (limited to 'src/tests/test_variable_tempo.cc')
| -rw-r--r-- | src/tests/test_variable_tempo.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tests/test_variable_tempo.cc b/src/tests/test_variable_tempo.cc index d366ade..3deb97e 100644 --- a/src/tests/test_variable_tempo.cc +++ b/src/tests/test_variable_tempo.cc @@ -29,8 +29,8 @@ void test_basic_tempo_scaling() { MockAudioBackend backend; audio_set_backend(&backend); - tracker_init(); synth_init(); + tracker_init(); // Test 1: Normal tempo (1.0x) { @@ -74,7 +74,7 @@ void test_basic_tempo_scaling() { // Test 3: Slow tempo (0.5x) { backend.clear_events(); - tracker_init(); + synth_init(); float music_time = 0.0f; float tempo_scale = 0.5f; @@ -100,8 +100,8 @@ void test_2x_speedup_reset_trick() { MockAudioBackend backend; audio_set_backend(&backend); - tracker_init(); synth_init(); + tracker_init(); // Scenario: Accelerate to 2.0x, then reset to 1.0x float music_time = 0.0f; @@ -157,8 +157,8 @@ void test_2x_slowdown_reset_trick() { MockAudioBackend backend; audio_set_backend(&backend); - tracker_init(); synth_init(); + tracker_init(); // Scenario: Decelerate to 0.5x, then reset to 1.0x float music_time = 0.0f; @@ -213,8 +213,8 @@ void test_pattern_density_swap() { MockAudioBackend backend; audio_set_backend(&backend); - tracker_init(); synth_init(); + tracker_init(); // Simulate: sparse pattern → accelerate → reset + dense pattern float music_time = 0.0f; @@ -268,8 +268,8 @@ void test_continuous_acceleration() { MockAudioBackend backend; audio_set_backend(&backend); - tracker_init(); synth_init(); + tracker_init(); float music_time = 0.0f; float tempo_scale = 0.5f; @@ -320,8 +320,8 @@ void test_oscillating_tempo() { MockAudioBackend backend; audio_set_backend(&backend); - tracker_init(); synth_init(); + tracker_init(); float music_time = 0.0f; float physical_time = 0.0f; |
