Rest of tests cases added for completeness only.
Went with haversine comparison as it didn't have floating point error when comparing with the same circle: expect(t, g.Contains(g))
Happy to make any changes (or just treat this PR as an illustration of the bug, feel free to close it :-))
I believe there was a bug in the case of calling Contains with two circles.
The test that was failing was:
Rest of tests cases added for completeness only. Went with haversine comparison as it didn't have floating point error when comparing with the same circle:
expect(t, g.Contains(g))
Happy to make any changes (or just treat this PR as an illustration of the bug, feel free to close it :-))