Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Aug 28, 2024
1 parent 49b95ae commit 8566c2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ TEST(TestMUSTSensorDetection, mustDetectionToSensorDetectedObject ) {
auto sensorDetectedObject = mustDetectionToSensorDetectedObject(detection, "MUSTSensor1", "PROJ String");

EXPECT_EQ(detection.trackID, sensorDetectedObject.get_objectId());
EXPECT_DOUBLE_EQ(detection.confidence, sensorDetectedObject.get_confidence());
EXPECT_DOUBLE_EQ(detection.confidence/100.0, sensorDetectedObject.get_confidence());
EXPECT_DOUBLE_EQ(detection.position_x, sensorDetectedObject.get_position().x);
EXPECT_DOUBLE_EQ(detection.position_y, sensorDetectedObject.get_position().y);
EXPECT_NEAR(4.33, sensorDetectedObject.get_velocity().y, 0.001);
Expand Down

0 comments on commit 8566c2c

Please sign in to comment.