Some more tests
This commit is contained in:
parent
c034fd3e30
commit
c629f6803b
1 changed files with 4 additions and 0 deletions
|
|
@ -846,7 +846,11 @@ TEST_CASE("[Helpers] allWithin")
|
|||
sfz::setSIMDOpStatus<float>(sfz::SIMDOps::allWithin, false);
|
||||
REQUIRE( sfz::allWithin<float>(input, 0.5f, 11.0f) );
|
||||
REQUIRE( !sfz::allWithin<float>(input, 2.5f, 8.0f) );
|
||||
REQUIRE( !sfz::allWithin<float>(input, 0.0f, 5.0f) );
|
||||
REQUIRE( !sfz::allWithin<float>(input, -1.0f, 7.0f) );
|
||||
sfz::setSIMDOpStatus<float>(sfz::SIMDOps::allWithin, true);
|
||||
REQUIRE( sfz::allWithin<float>(input, 0.5f, 11.0f) );
|
||||
REQUIRE( !sfz::allWithin<float>(input, 2.5f, 8.0f) );
|
||||
REQUIRE( !sfz::allWithin<float>(input, 0.0f, 5.0f) );
|
||||
REQUIRE( !sfz::allWithin<float>(input, -1.0f, 7.0f) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue