Skip to content

Fix Loop contains which contained a missing negation and add test cases. #156

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

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

rsned
Copy link
Collaborator

@rsned rsned commented Apr 17, 2025

Loop's hasCrossingRelation() had the wrong condition on one branch. This has been resolved and test cases added ensuring it was fixed.

Fix #77
Fix #78

rsned and others added 28 commits April 2, 2025 01:28
Add the action and set up an initial configuration that passes on the codebase at this point in time.
Invalid Go toolchain version (1 result)
    * go.mod#L0C0:0: As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).

      `1.21` in `go.mod` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.
(with comments on what the hash is representing
Add some helpers to shape index cell and range iterator to match C++.
Update loop to use the helpers to more closely match the code flows.
Negate a boolean check that was missed.

TODO: test cases to prove it works now but not before the fix.
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.

Bug on Polygon Contains (linked to https://github.com/golang/geo/issues/77 ?) Porting bug
2 participants