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

Adds a test function for LaneEnds. #524

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

agalbachicar
Copy link
Collaborator

🎉 Adds a new function to simplify the testing of LaneEnds

See maliput/maliput_sparse#24 for reference.

Summary

Adds a function to assert equality between two LaneEnds in tests.

Test it

Unit tests are provided.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if it affects the public API)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Agustin Alba Chicar <ag.albachicar@gmail.com>
Copy link
Collaborator

@francocipollone francocipollone left a comment

Choose a reason for hiding this comment

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

Lgtm

@@ -97,6 +97,13 @@ ::testing::AssertionResult IsRBoundsClose(const RBounds& rbounds1, const RBounds
/// within the @p tolerance deviation.
::testing::AssertionResult IsHBoundsClose(const HBounds& hbounds1, const HBounds& hbounds2, double tolerance);

/// Compares equality of two LaneEnd objects.
/// @param lane_end1 A LaneEnd object to compare.
/// @param lane_end1 A LaneEnd object to compare.
Copy link
Collaborator

Choose a reason for hiding this comment

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

lane_end2

Signed-off-by: Agustin Alba Chicar <ag.albachicar@gmail.com>
@agalbachicar
Copy link
Collaborator Author

I need your approval here once more @francocipollone . I forced pushed last commit to solve the signature.

@agalbachicar agalbachicar merged commit 3df683c into main Oct 11, 2022
@agalbachicar agalbachicar deleted the agalbachicar/#10_branchpoint_builder branch October 11, 2022 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants