From f557a80086f64fb94b4b64df55e29fd5faf2bf4b Mon Sep 17 00:00:00 2001 From: Peter Urban Date: Tue, 2 Jul 2024 13:34:46 +0200 Subject: [PATCH] debug common 12 --- src/tests/vectorinterpolators/common.test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tests/vectorinterpolators/common.test.cpp b/src/tests/vectorinterpolators/common.test.cpp index 744a17c..92f4a3c 100644 --- a/src/tests/vectorinterpolators/common.test.cpp +++ b/src/tests/vectorinterpolators/common.test.cpp @@ -236,13 +236,13 @@ TEST_CASE("VectorInterpolators: should throw expected exceptions", TESTTAG) REQUIRE(interpolator->get_data_X() == x); // strong exception guarantee REQUIRE(interpolator->get_data_Y() == y); // strong exception guarantee - // // initialize test data (duplicates) - // std::vector x_duplicates_ = { -5, -10, 0, 0, 6, 12 }; + // initialize test data (duplicates) + std::vector x_duplicates_ = { -5, -10, 0, 0, 6, 12 }; - // // interpolator should fail if there is a double x element! - // REQUIRE_THROWS(interpolator->set_data_XY(x_duplicates_, y)); - // REQUIRE(interpolator->get_data_X() == x); // strong exception guarantee - // REQUIRE(interpolator->get_data_Y() == y); // strong exception guarantee + // interpolator should fail if there is a double x element! + REQUIRE_THROWS(interpolator->set_data_XY(x_duplicates_, y)); + REQUIRE(interpolator->get_data_X() == x); // strong exception guarantee + REQUIRE(interpolator->get_data_Y() == y); // strong exception guarantee } // // initialize test data (wrong order)