From 1e6cb8245e56fb297eb885726e60e35d6a7bc78d Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Tue, 23 Jun 2020 00:21:53 +0200 Subject: [PATCH] Updated a test that did not account for sister voices --- tests/PolyphonyT.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/PolyphonyT.cpp b/tests/PolyphonyT.cpp index 815b6c23..23716cab 100644 --- a/tests/PolyphonyT.cpp +++ b/tests/PolyphonyT.cpp @@ -129,11 +129,14 @@ TEST_CASE("[Polyphony] Hierarchy polyphony limits (limit in another master)") sample=*saw key=65 polyphony=5 - sample=*sine key=65 + sample=*sine key=66 )"); synth.noteOn(0, 65, 64); synth.noteOn(0, 65, 64); synth.noteOn(0, 65, 64); + synth.noteOn(0, 66, 64); + synth.noteOn(0, 66, 64); + synth.noteOn(0, 66, 64); REQUIRE(synth.getNumActiveVoices() == 5); }