Skip to content

Commit a1c42ff

Browse files
committed
Removing incorrect label and redundant comment
1 parent a43f7f9 commit a1c42ff

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

s2/edge_query_test.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -545,21 +545,15 @@ func fractionToRadius(fraction, radiusKm float64) s1.Angle {
545545
func TestEdgeQueryOptimized(t *testing.T) {
546546
index := NewShapeIndex()
547547

548-
// Create polygons on different S2 faces by using points at different
549-
// longitudes. Face assignment is roughly:
550-
// Face 0: ~-45° to +45° longitude (Africa/Europe)
551-
// Face 1: ~+45° to +135° longitude (Asia)
552-
// Face 2: ~+135° to -135° longitude (Pacific, crossing dateline)
553-
// Face 3: ~-135° to -45° longitude (North/South America)
554548
locations := []struct {
555549
name string
556550
lat float64
557551
lng float64
558552
}{
559553
{"Face0", 20, 20}, // Africa - face 0
560554
{"Face1", 40, 90}, // Central Asia - face 1
561-
{"Face2", 0, 170}, // Pacific - face 2
562-
{"Face3", 40, -100}, // North America - face 3
555+
{"Face3", 0, 170}, // Pacific - face 3
556+
{"Face4", 40, -100}, // North America - face 4
563557
}
564558

565559
shapeIDToName := make(map[int32]string)

0 commit comments

Comments
 (0)