Updated the test for the default_path test case
This commit is contained in:
parent
2818c8e197
commit
87f169a6c1
1 changed files with 2 additions and 1 deletions
|
|
@ -488,8 +488,9 @@ TEST_CASE("[Files] Case sentitiveness")
|
||||||
{
|
{
|
||||||
sfz::Synth synth;
|
sfz::Synth synth;
|
||||||
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/case_insensitive.sfz");
|
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/case_insensitive.sfz");
|
||||||
REQUIRE(synth.getNumRegions() == 3);
|
REQUIRE(synth.getNumRegions() == 4);
|
||||||
REQUIRE(synth.getRegionView(0)->sample == "dummy1.wav");
|
REQUIRE(synth.getRegionView(0)->sample == "dummy1.wav");
|
||||||
REQUIRE(synth.getRegionView(1)->sample == "Regions/dummy.wav");
|
REQUIRE(synth.getRegionView(1)->sample == "Regions/dummy.wav");
|
||||||
REQUIRE(synth.getRegionView(2)->sample == "Regions/dummy.wav");
|
REQUIRE(synth.getRegionView(2)->sample == "Regions/dummy.wav");
|
||||||
|
REQUIRE(synth.getRegionView(3)->sample == "Regions/dummy.wav");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue