Skip to content

Commit

Permalink
debug common 19
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban committed Jul 2, 2024
1 parent 114e85e commit 42fa583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/vectorinterpolators/common.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ TEST_CASE("VectorInterpolators: should throw expected exceptions", TESTTAG)
REQUIRE(interpolator != orig_interpolator); // strong exception guarantee
interpolator.set_data_XYPR(x, yaw, pitch, roll);

return;
interpolator.set_data_XYPR(x, yaw, pitch, roll);
REQUIRE_THROWS(interpolator.insert({ 12, 13 }, { { -1, -1, -1 }, { 1, 1, 1 } }));
REQUIRE(interpolator == orig_interpolator); // strong exception guarantee
Expand All @@ -309,6 +308,7 @@ TEST_CASE("VectorInterpolators: should throw expected exceptions", TESTTAG)
REQUIRE_THROWS(interpolator.insert({ 14, 14 }, { { -1, -1, -1 }, { 1, 1, 1 } }));
REQUIRE(interpolator == orig_interpolator); // strong exception guarantees

return;
// initialize test data (wrong order)
std::vector<double> x_wrong_order = { -5, -10, 0, 6, 12 };

Expand Down

0 comments on commit 42fa583

Please sign in to comment.