-
Notifications
You must be signed in to change notification settings - Fork 22
added path support #52
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
Conversation
|
|
||
| @Override | ||
| public String toString() { | ||
| final StringBuilder sb = new StringBuilder("Path{"); |
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.
return "Path{nodes=" + nodes + " edges=" + edges + "}";
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.
auto-generated. I like string builder better than string appends.
| public class RedisGraphAPITest { | ||
|
|
||
| private class PathBuilder{ | ||
| List<Node> nodes; |
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.
final private?
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.
Path builder is now under test.tuils
Codecov Report
@@ Coverage Diff @@
## master #52 +/- ##
==========================================
+ Coverage 75.86% 77.77% +1.91%
==========================================
Files 22 23 +1
Lines 493 522 +29
Branches 75 79 +4
==========================================
+ Hits 374 406 +32
Misses 90 90
+ Partials 29 26 -3
Continue to review full report at Codecov.
|
added path support
added equalsverifier for hashCode and equals functions verifications