From 5d6c52b0588dff19539f64c98c850f8b024c51fd Mon Sep 17 00:00:00 2001 From: Jarrett Johnson Date: Tue, 30 Jan 2024 15:09:31 -0500 Subject: [PATCH] Sanity check std::clamp --- layerCTest/Test_Algorithm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layerCTest/Test_Algorithm.cpp b/layerCTest/Test_Algorithm.cpp index 3df425e7e..d7ede4b76 100644 --- a/layerCTest/Test_Algorithm.cpp +++ b/layerCTest/Test_Algorithm.cpp @@ -6,9 +6,9 @@ TEST_CASE("Clamp", "[Algorithm]") { - REQUIRE(pymol::clamp(-1, 0, 10) == 0); - REQUIRE(pymol::clamp(3, 0, 10) == 3); - REQUIRE(pymol::clamp(13, 0, 10) == 10); + REQUIRE(std::clamp(-1, 0, 10) == 0); + REQUIRE(std::clamp(3, 0, 10) == 3); + REQUIRE(std::clamp(13, 0, 10) == 10); } TEST_CASE("Equal", "[Algorithm]")