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

test failure for +- 0.0 #108

Open
missinglink opened this issue Nov 4, 2021 · 0 comments
Open

test failure for +- 0.0 #108

missinglink opened this issue Nov 4, 2021 · 0 comments
Labels

Comments

@missinglink
Copy link
Member

On the Mac ARM machines this one test fails due to -0 != +0

go test
--- FAIL: TestComputeCentroidForClosedPolygon (0.00s)
    centroid_test.go:84: 
        	Error Trace:	centroid_test.go:84
        	Error:      	Not equal: 
        	            	expected: "0.0000000"
        	            	actual  : "-0.0000000"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-0.0000000
        	            	+-0.0000000
        	Test:       	TestComputeCentroidForClosedPolygon
FAIL
exit status 1
FAIL	github.com/pelias/pbf2json	0.123s
@missinglink missinglink added the bug label Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant