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

route progress test added #74

Merged
merged 10 commits into from Jun 8, 2017
Merged

route progress test added #74

merged 10 commits into from Jun 8, 2017

Conversation

cammace
Copy link
Contributor

@cammace cammace commented Jun 6, 2017

No description provided.

@cammace cammace added enhancement ⚠️ DO NOT MERGE PR should not be merged! labels Jun 6, 2017
@cammace cammace added this to the v0.4.0 milestone Jun 6, 2017
@cammace cammace added the testing label Jun 6, 2017
@cammace cammace requested a review from zugaldia June 7, 2017 14:49
@cammace cammace added ready for review and removed ⚠️ DO NOT MERGE PR should not be merged! labels Jun 7, 2017
@cammace
Copy link
Contributor Author

cammace commented Jun 7, 2017

This PR adds a bunch of test and fixes up the RouteProgress classes (cleaned up code and fixed minor bugs). @zugaldia can you review?

@zugaldia
Copy link
Member

zugaldia commented Jun 8, 2017

@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;
Copy link
Contributor Author

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.

@cammace
Copy link
Contributor Author

cammace commented Jun 8, 2017

I've also added autoValues inside this PR to reinforce the immutable nature of RouteProgress. Ready for a review @zugaldia.

@cammace cammace merged commit 9f6f7e7 into master Jun 8, 2017
@cammace cammace deleted the route-progress-test branch June 8, 2017 20:04
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

3 participants