Skip to content

Commit

Permalink
debug common 8
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban committed Jul 2, 2024
1 parent 2ef076f commit 456e732
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/tests/vectorinterpolators/common.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ TEST_CASE("VectorInterpolators: should throw expected exceptions", TESTTAG)
{
INFO("Interpolator:" << interpolator->info_string());

// // interpolator should fail if double x elements are appended
// REQUIRE_THROWS(interpolator->append(12, -1));
// REQUIRE(interpolator->get_data_X() == x); // strong exception guarantee
// REQUIRE(interpolator->get_data_Y() == y); // strong exception guarantee
// REQUIRE_THROWS(interpolator->append(11, -1));
// interpolator->append(13, -1);
// interpolator->set_data_XY(x, y);
// interpolator should fail if double x elements are appended
REQUIRE_THROWS(interpolator->append(12, -1));
REQUIRE(interpolator->get_data_X() == x); // strong exception guarantee
REQUIRE(interpolator->get_data_Y() == y); // strong exception guarantee
REQUIRE_THROWS(interpolator->append(11, -1));
interpolator->append(13, -1);
interpolator->set_data_XY(x, y);

// // same for extending lists
// REQUIRE_THROWS(interpolator->extend({ 12, 13 }, { -1, 1 }));
Expand Down

0 comments on commit 456e732

Please sign in to comment.