Skip to content

Commit

Permalink
Fix pitch values
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Nov 20, 2015
1 parent 82ab1d3 commit e4cf7d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/patch.cpp
Expand Up @@ -76,13 +76,13 @@ TEST_CASE("Test Patch class")
channel1.midiOutLmute = 8;
channel1.midiOutLsolo = 9;
channel1.samplePath = "/tmp/test.wav";
channel1.key = 0;
channel1.key = 666;
channel1.mode = 0;
channel1.begin = 0;
channel1.end = 0;
channel1.boost = 0;
channel1.recActive = 0;
channel1.pitch = 0;
channel1.pitch = 1.2f;
channel1.midiInReadActions = 0;
channel1.midiInPitch = 0;
channel1.midiOut = 0;
Expand Down Expand Up @@ -164,13 +164,13 @@ TEST_CASE("Test Patch class")
REQUIRE(channel0.midiOutLmute == 8);
REQUIRE(channel0.midiOutLsolo == 9);
REQUIRE(channel0.samplePath == "/tmp/test.wav");
REQUIRE(channel0.key == 0);
REQUIRE(channel0.key == 666);
REQUIRE(channel0.mode == 0);
REQUIRE(channel0.begin == 0);
REQUIRE(channel0.end == 0);
REQUIRE(channel0.boost == 0);
REQUIRE(channel0.recActive == 0);
REQUIRE(channel0.pitch == 0);
REQUIRE(channel0.pitch == Approx(1.2f));
REQUIRE(channel0.midiInReadActions == 0);
REQUIRE(channel0.midiInPitch == 0);
REQUIRE(channel0.midiOut == 0);
Expand Down

0 comments on commit e4cf7d9

Please sign in to comment.