diff --git a/tests/sampleRendering.cpp b/tests/sampleRendering.cpp index 1cb0474b5..f57672cb0 100644 --- a/tests/sampleRendering.cpp +++ b/tests/sampleRendering.cpp @@ -35,7 +35,7 @@ TEST_CASE("rendering::sampleRendering") REQUIRE(channel.sampleChannel->hasWave() == true); REQUIRE(channel.sampleChannel->begin == 0); - REQUIRE(channel.sampleChannel->end == wave.getBuffer().countFrames() - 1); + REQUIRE(channel.sampleChannel->end == wave.getBuffer().countFrames()); REQUIRE(channelShared.tracker.load() == 0); REQUIRE(channelShared.playStatus.load() == ChannelStatus::OFF);