Fix some errors
This commit is contained in:
parent
48de65441b
commit
377050a54d
2 changed files with 3 additions and 2 deletions
|
|
@ -1603,9 +1603,9 @@ TEST_CASE("[Region] Parsing opcodes")
|
||||||
region.parseOpcode({ "amplitude_smoothcc14", "-2" });
|
region.parseOpcode({ "amplitude_smoothcc14", "-2" });
|
||||||
REQUIRE(region.modifiers[Mod::amplitude][14].smooth == 0);
|
REQUIRE(region.modifiers[Mod::amplitude][14].smooth == 0);
|
||||||
region.parseOpcode({ "amplitude_stepcc120", "24" });
|
region.parseOpcode({ "amplitude_stepcc120", "24" });
|
||||||
REQUIRE(region.[Mod::amplitude][120].step == 24.0_a);
|
REQUIRE(region.modifiers[Mod::amplitude][120].step == 24.0_a);
|
||||||
region.parseOpcode({ "amplitude_stepcc120", "15482" });
|
region.parseOpcode({ "amplitude_stepcc120", "15482" });
|
||||||
REQUIRE(region.[Mod::amplitude][120].step == 100.0_a);
|
REQUIRE(region.modifiers[Mod::amplitude][120].step == 100.0_a);
|
||||||
region.parseOpcode({ "amplitude_stepcc120", "-2" });
|
region.parseOpcode({ "amplitude_stepcc120", "-2" });
|
||||||
REQUIRE(region.modifiers[Mod::amplitude][120].step == 0.0f);
|
REQUIRE(region.modifiers[Mod::amplitude][120].step == 0.0f);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
|
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
|
||||||
|
|
||||||
#include "sfizz/Tuning.h"
|
#include "sfizz/Tuning.h"
|
||||||
|
#include "sfizz/Opcode.h"
|
||||||
#include "sfizz/SfzHelpers.h"
|
#include "sfizz/SfzHelpers.h"
|
||||||
#include "cxxopts.hpp"
|
#include "cxxopts.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue