From 187c9056bbe94df02b49cf41ed004ddfe2b3309a Mon Sep 17 00:00:00 2001 From: Roelof Oomen Date: Tue, 20 Feb 2024 17:19:14 +0100 Subject: [PATCH] Fix unit test --- tesseract_visualization/test/trajectory_player_unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tesseract_visualization/test/trajectory_player_unit.cpp b/tesseract_visualization/test/trajectory_player_unit.cpp index a162f27246f..5f6ef32d5cc 100644 --- a/tesseract_visualization/test/trajectory_player_unit.cpp +++ b/tesseract_visualization/test/trajectory_player_unit.cpp @@ -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)