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

Enhanced Polygon Test #69

Closed
wants to merge 4 commits into from
Closed

Enhanced Polygon Test #69

wants to merge 4 commits into from

Conversation

Wulfheart
Copy link

I added some more tests to check a polygon.

The new output is:

--- FAIL: TestPolygonNotClosed (0.00s)
    d:\code\golang-geo\polygon_test.go:164: Nope! The polygon is not closed!
--- FAIL: TestPolygonSimple (0.00s)
    d:\code\golang-geo\polygon_test.go:204: x:  0 	y:  0 	Expected:  true 	Got:  false
    d:\code\golang-geo\polygon_test.go:204: x:  1 	y:  1 	Expected:  true 	Got:  false
FAIL
FAIL	github.com/Wulfheart/golang-geo	0.694s
Error: Tests failed.

As you may see additionally to #66 also the IsClosed() method is broken. I will open an issue for it.

@Wulfheart
Copy link
Author

Stale.

@Wulfheart Wulfheart closed this May 29, 2021
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.

1 participant