From c629f6803b0a0aa31408858d83aa2e6417479e8f Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Wed, 12 Aug 2020 19:40:33 +0200 Subject: [PATCH] Some more tests --- tests/SIMDHelpersT.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/SIMDHelpersT.cpp b/tests/SIMDHelpersT.cpp index 2dbfd94b..805bb0f9 100644 --- a/tests/SIMDHelpersT.cpp +++ b/tests/SIMDHelpersT.cpp @@ -846,7 +846,11 @@ TEST_CASE("[Helpers] allWithin") sfz::setSIMDOpStatus(sfz::SIMDOps::allWithin, false); REQUIRE( sfz::allWithin(input, 0.5f, 11.0f) ); REQUIRE( !sfz::allWithin(input, 2.5f, 8.0f) ); + REQUIRE( !sfz::allWithin(input, 0.0f, 5.0f) ); + REQUIRE( !sfz::allWithin(input, -1.0f, 7.0f) ); sfz::setSIMDOpStatus(sfz::SIMDOps::allWithin, true); REQUIRE( sfz::allWithin(input, 0.5f, 11.0f) ); REQUIRE( !sfz::allWithin(input, 2.5f, 8.0f) ); + REQUIRE( !sfz::allWithin(input, 0.0f, 5.0f) ); + REQUIRE( !sfz::allWithin(input, -1.0f, 7.0f) ); }