Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public void testVisitGeoPointsWrapping() {
} else {
// Both positive and negative x values exist, we need to decide which way to wrap the bbox
double unwrappedWidth = maxPosX - minNegX;
double wrappedWidth = (180 - minPosX) - (-180 - maxNegX);
double wrappedWidth = 360.0 + maxNegX - minPosX;
if (unwrappedWidth <= wrappedWidth) {
// The smaller bbox is around the front of the planet, no dateline wrapping required
assertRectangleResult(i + ": " + point, result, minNegX, maxPosX, maxY, minY, false);
Expand Down