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

CanonicalizedLaneletPose unit tests #32

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gmajrobotec
Copy link
Collaborator

Description

Abstract

This PR contains unit tests for CanonicalizedLaneletPose class, which is a part of traffic_simulator package

Details

List of tests included in this PR:

  1. CanonicalizedLaneletPose.CanonicalizedLaneletPose_withRoute_invalid
  2. CanonicalizedLaneletPose.CanonicalizedLaneletPose_withRoute
  3. CanonicalizedLaneletPose.CanonicalizedLaneletPose_withoutRoute_invalid
  4. CanonicalizedLaneletPose.CanonicalizedLaneletPose_withoutRoute
  5. CanonicalizedLaneletPose.CanonicalizedLaneletPose_copyConstructor
  6. CanonicalizedLaneletPose.CanonicalizedLaneletPose_moveConstructor
  7. CanonicalizedLaneletPose.copyAssignment
  8. CanonicalizedLaneletPose.conversionLaneletPose
  9. CanonicalizedLaneletPose.conversionPose
  10. CanonicalizedLaneletPose.hasAlternativeLaneletPose_true
  11. CanonicalizedLaneletPose.hasAlternativeLaneletPose_false
  12. CanonicalizedLaneletPose.getAlternativeLaneletPoseBaseOnShortestRouteFrom_empty
  13. CanonicalizedLaneletPose.getAlternativeLaneletPoseBaseOnShortestRouteFrom_single
  14. CanonicalizedLaneletPose.getAlternativeLaneletPoseBaseOnShortestRouteFrom_multiple
  15. CanonicalizedLaneletPose.setConsiderPoseByRoadSlope
  16. CanonicalizedLaneletPose.getConsiderPoseByRoadSlope
  17. CanonicalizedLaneletPose.operatorLessEqual
  18. CanonicalizedLaneletPose.operatorLess
  19. CanonicalizedLaneletPose.operatorGreaterEqual
  20. CanonicalizedLaneletPose.operatorGreater
  21. CanonicalizedLaneletPose.isSameLaneletId_withPose_same
  22. CanonicalizedLaneletPose.isSameLaneletId_withPose_different
  23. CanonicalizedLaneletPose.isSameLaneletId_withLanelet_same
  24. CanonicalizedLaneletPose.isSameLaneletId_withLanelet_different

References

Jira ticket: internal link

Destructive Changes

There are no destructive changes.

@gmajrobotec gmajrobotec requested a review from robomic August 16, 2024 10:15
@gmajrobotec gmajrobotec force-pushed the feature/unit_tests/canonicalized_lanelet_pose branch from eb94b6e to 9903a3a Compare August 16, 2024 13:43
Copy link

@robomic robomic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just add this one minor change

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