about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhanemile <hanemile@protonmail.com>2018-11-03 18:11:37 +0100
committerhanemile <hanemile@protonmail.com>2018-11-03 18:11:37 +0100
commita56d1134968de6b4867de24a1e8f15112a7e9554 (patch)
treed99e9c1a4bc34ab29b928dd53ee30bff0e671363
parenta7bd6a7d95a62238256db04c81d956d76036a6fa (diff)
Updated the ExampleInsideOf() function name and the Example text
-rw-r--r--structs_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/structs_test.go b/structs_test.go
index fc7e66f..d165364 100644
--- a/structs_test.go
+++ b/structs_test.go
@@ -139,9 +139,9 @@ func ExampleNewBoundingBox() {
 	// Output: {{0 0} 10}
 }
 
-// Using the InsideOf() function, it can be determined if a point is inside of a bounding box
+// Using the InsideOf() method, it can be determined if a point is inside of a bounding box
 // or not. The Example below can be used as a reference:
-func ExampleInsideOf() {
+func ExampleInsideOf_Coord() {
 	var point Coord = NewCoord(0, 0)
 	var bounadry BoundingBox = NewBoundingBox(NewCoord(0, 0), 10)
 	var quadtreeCell *Quadtree = NewQuadtree(bounadry, 0)