Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Feb 20, 2024
1 parent 53fb092 commit 187c905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract_visualization/test/trajectory_player_unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TEST(TesseracTrajectoryPlayerUnit, TrajectoryTest) // NOLINT
TrajectoryPlayer player;
player.setTrajectory(trajectory);

EXPECT_NEAR(player.trajectoryDuration(), 9, 1e-5);
EXPECT_NEAR(player.trajectoryDurationEnd(), 9, 1e-5);
EXPECT_NEAR(player.currentDuration(), 0, 1e-5);

for (long i = 0; i < 10; ++i)
Expand Down

0 comments on commit 187c905

Please sign in to comment.