Skip to content

Commit 05ab3d6

Browse files
rsneddsymonds
authored andcommitted
s2: Fix up example names so they are method examples not package examples.
Signed-off-by: David Symonds <dsymonds@golang.org>
1 parent b808472 commit 05ab3d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

s2/example_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func ExamplePolygonFromOrientedLoops() {
117117
// l1+l2 = 0.0006089, inv(l3) = 0.0001097; l1+l2 - inv(l3) = 0.0004993
118118
}
119119

120-
func ExampleClosestEdgeQuery_FindEdges() {
120+
func ExampleEdgeQuery_FindEdges_findClosestEdges() {
121121
// Lets start with a one or more Polylines that we wish to compare against.
122122
polylines := []s2.Polyline{
123123
// This is an iteration = 3 Koch snowflake centered at the
@@ -205,7 +205,7 @@ func ExampleClosestEdgeQuery_FindEdges() {
205205
// Polyline 0, Edge 11 is 12.9502 degrees from Point (-0.425124, -0.667311, 0.611527)
206206
}
207207

208-
func ExampleFurthestEdgeQuery_FindEdges() {
208+
func ExampleEdgeQuery_FindEdges_findFurthestEdges() {
209209
// Lets start with a one or more Polylines that we wish to compare against.
210210
polylines := []s2.Polyline{
211211
// This is an iteration = 3 Koch snowflake centered at the

0 commit comments

Comments
 (0)