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

Implement RouteStep equality #151

Closed
1ec5 opened this issue Jul 12, 2017 · 1 comment
Closed

Implement RouteStep equality #151

1ec5 opened this issue Jul 12, 2017 · 1 comment

Comments

@1ec5
Copy link
Contributor

1ec5 commented Jul 12, 2017

RouteStep currently inherits the == operator from NSObject, so it only considers whether two RouteStep objects are the same object. RouteStep should override the == operator to indicate whether the objects represent the same logical step. It should at least consider the step’s coordinates, maneuver type, and maneuver direction. Should it consider anything else about the step?

/cc @frederoni @bsudekum

@1ec5
Copy link
Contributor Author

1ec5 commented Dec 28, 2019

RouteStep conforms to Equatable as of #382, though I think there was an equality method before that.

@1ec5 1ec5 closed this as completed Dec 28, 2019
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

No branches or pull requests

1 participant