Update tests
This commit is contained in:
parent
cea3e4715b
commit
b338ac0ff9
1 changed files with 2 additions and 2 deletions
|
|
@ -254,9 +254,9 @@ TEST_CASE("[Files] Channels (channels.sfz)")
|
||||||
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/channels.sfz");
|
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/channels.sfz");
|
||||||
REQUIRE(synth.getNumRegions() == 2);
|
REQUIRE(synth.getNumRegions() == 2);
|
||||||
REQUIRE(synth.getRegionView(0)->sample == "mono_sample.wav");
|
REQUIRE(synth.getRegionView(0)->sample == "mono_sample.wav");
|
||||||
REQUIRE(!synth.getRegionView(0)->isStereo);
|
REQUIRE(!synth.getRegionView(0)->isStereo());
|
||||||
REQUIRE(synth.getRegionView(1)->sample == "stereo_sample.wav");
|
REQUIRE(synth.getRegionView(1)->sample == "stereo_sample.wav");
|
||||||
REQUIRE(synth.getRegionView(1)->isStereo);
|
REQUIRE(synth.getRegionView(1)->isStereo());
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("[Files] sw_default")
|
TEST_CASE("[Files] sw_default")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue