Skip to content

Commit

Permalink
add test case for isInIntersection function
Browse files Browse the repository at this point in the history
Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 committed Dec 18, 2024
1 parent 18602c0 commit bde1d6c
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bde1d6c

Please sign in to comment.