Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Oct 23, 2024
1 parent bbdc5b0 commit e87497f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/UnitTests/Core/Navigation/NavigationPolicyTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ BOOST_AUTO_TEST_CASE(FactoryTest) {
NavigationDelegate delegate2;
policyBase2->connect(delegate2);

delegate(NavigationArguments{.position = Vector3::Zero(),
.direction = Vector3::Zero()},
stream, *logger);
delegate2(NavigationArguments{.position = Vector3::Zero(),
.direction = Vector3::Zero()},
stream, *logger);

BOOST_CHECK(std::get<APolicy>(policy2.policies()).executed);
BOOST_CHECK(std::get<BPolicy>(policy2.policies()).executed);
Expand Down

0 comments on commit e87497f

Please sign in to comment.