-
Notifications
You must be signed in to change notification settings - Fork 319
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
route progress test added #74
Conversation
This PR adds a bunch of test and fixes up the RouteProgress classes (cleaned up code and fixed minor bugs). @zugaldia can you review? |
@cammace I believe you were gonna introduce some changes to this PR (deltas vs rounding). Let me know when that lands and happy to 👀 the PR. |
@@ -10,8 +10,9 @@ | |||
|
|||
public class BaseTest { | |||
public static final double DELTA = 1E-10; | |||
private static final String BASE_PATH = "/res/"; | |||
public static final double LARGE_DELTA = 0.1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zugaldia added a larger delta to offset the difference between API and calculated distances.
I've also added autoValues inside this PR to reinforce the immutable nature of RouteProgress. Ready for a review @zugaldia. |
No description provided.