about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--structs_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/structs_test.go b/structs_test.go
index ae4ed35..fe41cae 100644
--- a/structs_test.go
+++ b/structs_test.go
@@ -127,19 +127,20 @@ func TestInsert(t *testing.T) {
 	t.Logf("Complete Tree: %v\n", newQuadtree.northEast.southWest.southWest.northEast)
 }
 
-// Example demonstrating the NewCoord() function
+// The NewCoord function can be used to create a new Coordinate in the following way:
 func ExampleNewCoord() {
 	fmt.Println(NewCoord(1, 1))
 	// Output: {1, 1}
 }
 
-// Example demonstrationg the NewBoundingBox() function
+// The NewBoundingBox function can combine a coordinate resulting in a BoundingBox:
 func ExampleNewBoundingBox() {
 	fmt.Println(NewBoundingBox(NewCoord(0, 0), 10))
 	// Output: {{0, 0}, 10}
 }
 
-// Example using the InsideOf() method to test if a point is inside of a quadtre-cell
+// Using the InsideOf() function, 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() {
 	var point Coord = NewCoord(0, 0)
 	var bounadry BoundingBox = NewBoundingBox(NewCoord(0, 0), 10)