Skip to content

Conversation

@robomic
Copy link

@robomic robomic commented May 28, 2024

Description

Abstract

This PR contains unit tests for HdMapUtils, which is a part of traffic_simulator package.
Unit tests contained in this PR are considered problematic and are awaiting fixes or suggestions.

Details

Three customized maps have been added to the map folder in order to test some functions that require a specific setup.
All tests are included in test_hdmap_utils.cpp file.
In addition, already existing tests have also been moved to test_hdmap_utils.cpp file.

List of tests included in this PR:

  1. getNearbyLaneletIds_crosswalkIncluded
  2. getNearbyLaneletIds_crosswalkNotIncluded
  3. getPreviousLanelets_straightBefore
  4. getPreviousLanelets_curveBefore
  5. getPreviousLanelets_notEnoughLaneletsBefore
  6. getStopLinePolygon_noStopLine

References

Jira ticket: internal link

Destructive Changes

There are no destructive changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants