Skip to content

Commit

Permalink
UP threhold on analog release unit test (#1464)
Browse files Browse the repository at this point in the history
The analog release unit test was sometimes too fast to pass in
some random regimes. Make the floor a bit longer.
  • Loading branch information
baconpaul authored Jan 10, 2020
1 parent a11f680 commit b5f494e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/headless/UnitTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ TEST_CASE( "ADSR Envelope Behaviour", "[mod]" )
auto a = rand() * 1.0 / RAND_MAX + 0.03;
auto d = rand() * 1.0 / RAND_MAX + 0.03;
auto s = 0.7 * rand() * 1.0 / RAND_MAX + 0.2; // we have tested the s=0 case above
auto r = rand() * 1.0 / RAND_MAX;
auto r = rand() * 1.0 / RAND_MAX + 0.03;
testAnalog( a, d, s, r);
}

Expand Down

0 comments on commit b5f494e

Please sign in to comment.