Skip to content

Commit

Permalink
fix(traffic_simulator): add EOF to lanelet_wrapper tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoszynski committed Dec 9, 2024
1 parent cfd0cc0 commit eda9bfd
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ target_link_libraries(test_lanelet_wrapper_lane_change traffic_simulator)

ament_add_gtest(test_lanelet_wrapper_traffic_lights test_traffic_lights.cpp)
target_link_libraries(test_lanelet_wrapper_traffic_lights traffic_simulator)

Original file line number Diff line number Diff line change
Expand Up @@ -642,4 +642,4 @@ TEST_F(LaneletWrapperTest_CrossroadsWithStoplinesMap, getDistanceToStopLine_empt
makePoint(3807.63, 73715.99), makePoint(3785.76, 73707.70), makePoint(3773.19, 73723.27)})
.has_value());
}
} // namespace traffic_simulator::lanelet_wrapper::tests
} // namespace traffic_simulator::lanelet_wrapper::tests
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@ TEST_F(LaneletWrapperTest_FourTrackHighwayMap, canChangeLane_invalidLaneletId)
{
EXPECT_THROW(lane_change::canChangeLane(1000003, 1000033), std::runtime_error);
}
} // namespace traffic_simulator::lanelet_wrapper::tests
} // namespace traffic_simulator::lanelet_wrapper::tests
Original file line number Diff line number Diff line change
Expand Up @@ -567,4 +567,4 @@ TEST_F(LaneletWrapperTest_CrossroadsWithStoplinesMap, getStopLinePolygon_invalid
{
EXPECT_THROW(lanelet_map::stopLinePolygon(1000039), std::runtime_error);
}
} // namespace traffic_simulator::lanelet_wrapper::tests
} // namespace traffic_simulator::lanelet_wrapper::tests
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ class LaneletWrapperTest_IntersectionMap : public testing::Test
LaneletWrapperTest_IntersectionMap() { activateLaneletWrapper("intersection"); }
};

#endif // TRAFFIC_SIMULATOR__TEST__TEST_LANELET_WRAPPER_HPP_
#endif // TRAFFIC_SIMULATOR__TEST__TEST_LANELET_WRAPPER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -445,4 +445,4 @@ TEST_F(LaneletWrapperTest_StandardMap, toLaneletPose_boundingBoxMatchPrevious)
.rpy(geometry_msgs::msg::Vector3()),
0.1);
}
} // namespace traffic_simulator::lanelet_wrapper::tests
} // namespace traffic_simulator::lanelet_wrapper::tests
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,4 @@ TEST_F(LaneletWrapperTest_WithRoadShoulderMap, routingWithRoadShoulder)
EXPECT_EQ(route_with_road_shoulder[2], 34768); // road shoulder
EXPECT_EQ(route_with_road_shoulder[3], 34615);
}
} // namespace traffic_simulator::lanelet_wrapper::tests
} // namespace traffic_simulator::lanelet_wrapper::tests
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@ TEST_F(
{
EXPECT_THROW(traffic_lights::trafficLightStopLineIds(1000039), std::runtime_error);
}
} // namespace traffic_simulator::lanelet_wrapper::tests
} // namespace traffic_simulator::lanelet_wrapper::tests

0 comments on commit eda9bfd

Please sign in to comment.