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

update unit test #275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BruceChanJianLe
Copy link

Update unit test with PositiveClosestPositionInMap and NegativeClosestPositionInMap.

This is regarding issue #272 where I was requested to submit a unit test.

Hope this helps to discover the bug. Thank you.

Update unit test with PositiveClosestPositionInMap and NegativeClosestPositionInMap.
@maximilianwulf
Copy link
Collaborator

Thank you, the unit tests fail, right?

@BruceChanJianLe
Copy link
Author

Thank you, the unit tests fail, right?

You're welcome! Indeed the unit test failed because of the bug where the return negative value (length of the grid map) is invalid when getIndex() function is called.

hogabrie added a commit that referenced this pull request Jan 15, 2021
GitOrigin-RevId: 2ccf404f896965a2d512814befae59fb1f9b0d45
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.

None yet

2 participants