Skip to content

Commit

Permalink
unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Oct 11, 2024
1 parent 799dca9 commit f8f6042
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/UnitTests/Core/Geometry/PortalTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,9 @@ BOOST_AUTO_TEST_CASE(Cylinder) {
BOOST_CHECK_NE(merged12.getLink(Direction::AlongNormal), nullptr);
BOOST_CHECK_EQUAL(merged12.getLink(Direction::OppositeNormal), nullptr);

auto grid12 = dynamic_cast<const GridPortalLink*>(
auto composite12 = dynamic_cast<const CompositePortalLink*>(
merged12.getLink(Direction::AlongNormal));
BOOST_REQUIRE_NE(grid12, nullptr);
grid12->printContents(std::cout);
BOOST_REQUIRE_NE(composite12, nullptr);

BOOST_CHECK_EQUAL(
merged12
Expand Down

0 comments on commit f8f6042

Please sign in to comment.