diff --git a/tests/FilesT.cpp b/tests/FilesT.cpp index 7f56511b..dbff1ba1 100644 --- a/tests/FilesT.cpp +++ b/tests/FilesT.cpp @@ -694,13 +694,15 @@ TEST_CASE("[Files] Key center from audio file") sample=root_key_62.wav sample=root_key_38.flac sample=root_key_62.flac + pitch_keycenter=10 sample=root_key_62.flac key=10 sample=root_key_62.flac )"); - REQUIRE(synth.getNumRegions() == 5); + REQUIRE(synth.getNumRegions() == 6); REQUIRE(synth.getRegionView(0)->pitchKeycenter == 38); REQUIRE(synth.getRegionView(1)->pitchKeycenter == 62); REQUIRE(synth.getRegionView(2)->pitchKeycenter == 38); REQUIRE(synth.getRegionView(3)->pitchKeycenter == 62); REQUIRE(synth.getRegionView(4)->pitchKeycenter == 10); + REQUIRE(synth.getRegionView(5)->pitchKeycenter == 62); }