Skip to content

Commit

Permalink
chore(random_test_runner): restore test value
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Mar 4, 2024
1 parent 368ac88 commit 531272a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions test_runner/random_test_runner/test/test_test_randomizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ TEST(TestRandomizer, generate_10NPC)
description.ego_start_position, makeLaneletPose(34705, 6.2940393113), EPS);
EXPECT_LANELET_POSE_NEAR(
description.ego_goal_position, makeLaneletPose(34642, 9.6945373700), EPS);
// NOTE: orientation data is output as of #1103
EXPECT_POSE_NEAR(
description.ego_goal_pose,
geometry_msgs::build<geometry_msgs::msg::Pose>()
Expand All @@ -62,10 +61,10 @@ TEST(TestRandomizer, generate_10NPC)
.y(73741.1526960728)
.z(0.0698702227))
.orientation(geometry_msgs::build<geometry_msgs::msg::Quaternion>()
.x(-0.0040560888625029243)
.y(-0.00069838333685736189)
.z(-0.98549007915725362)
.w(0.16968312905673485)),
.x(0.0)
.y(0.0)
.z(-0.9854984261)
.w(0.1696845662)),
EPS);
// npc data
EXPECT_EQ(description.npcs_descriptions.size(), size_t(10));
Expand Down Expand Up @@ -127,10 +126,10 @@ TEST(TestRandomizer, generate_8NPC)
.y(73815.1830249432)
.z(-2.9975350010))
.orientation(geometry_msgs::build<geometry_msgs::msg::Quaternion>()
.x(-0.002510549540877986)
.y(0.01040596135909698)
.z(0.23451814178855812)
.w(0.97205280426591933)),
.x(0.0)
.y(0.0)
.z(0.2345315792)
.w(0.9721085013)),
EPS);
// npc data
EXPECT_EQ(description.npcs_descriptions.size(), size_t(8));
Expand Down

0 comments on commit 531272a

Please sign in to comment.