-
Notifications
You must be signed in to change notification settings - Fork 184
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
edge_distances: fix test #106
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
@missinglink for us to merge this PR, we need a signed CLA. Could you please check out the failing check above? Thanks! |
You have a CLA signed under |
The fixture for this test case is confusing, it seems to 'want' `false` but actually it is being ignored and the test is assertion for `true`.
@@ -202,26 +202,26 @@ func TestEdgeDistancesUpdateMinInteriorDistanceRejectionTestIsConservative(t *te | |||
a: Point{r3.Vector{1, -8.9031850507928352e-11, 0}}, | |||
b: Point{r3.Vector{-0.99999999999996347, 2.7030110029169596e-07, 1.555092348806121e-99}}, | |||
minDist: minDist, | |||
want: false, | |||
want: true, |
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.
Confirmed true
agrees with C++.
@rsned Maybe we should just delete the want
field, since it's always true
.
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.
We should probably come up with At least one test case that should be false just to be sure things actually do as they claim.
The fixture for this test case is confusing, it seems to 'want'
false
but actually it is being ignored and the test is expectingtrue
.