Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/unit tests/hdmap utils problematic #21

Open
wants to merge 1 commit into
base: feature/unit_tests/hdmap_utils
Choose a base branch
from

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.

1 participant