pbf2json icon indicating copy to clipboard operation
pbf2json copied to clipboard

test failure for +- 0.0

Open missinglink opened this issue 3 years ago • 0 comments

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 avatar Nov 04 '21 15:11 missinglink