diff --git a/simulation/traffic_simulator/test/src/hdmap_utils/test_hdmap_utils.cpp b/simulation/traffic_simulator/test/src/hdmap_utils/test_hdmap_utils.cpp index dd0dda7330f..e6ba6873f0d 100644 --- a/simulation/traffic_simulator/test/src/hdmap_utils/test_hdmap_utils.cpp +++ b/simulation/traffic_simulator/test/src/hdmap_utils/test_hdmap_utils.cpp @@ -2206,6 +2206,16 @@ TEST_F(HdMapUtilsTest_IntersectionMap, getLongitudinalDistance_laneChange) } } +/** + * @note Test for isInIntersection function + * + */ +TEST_F(HdMapUtilsTest_IntersectionMap, isInIntersection) +{ + EXPECT_TRUE(hdmap_utils.isInIntersection(662)); + EXPECT_FALSE(hdmap_utils.isInIntersection(574)); +} + /** * @note Test basic functionality. * Test obtaining stop line ids correctness with a route that has no stop lines.