about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhanemile <hanemile@protonmail.com>2018-11-03 19:40:05 +0100
committerhanemile <hanemile@protonmail.com>2018-11-03 19:40:05 +0100
commit668440ed0a13fa7e5557fe1b5e7e14322c87f714 (patch)
tree39b69d2f4ddba36f5df83fc0bb32e938303b32b3
parentb82c7e7e352061dccc3cb83a914092bd3677ac3f (diff)
Describing the cases a bit more
-rw-r--r--structs_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/structs_test.go b/structs_test.go
index 5c8d59c..68b4c94 100644
--- a/structs_test.go
+++ b/structs_test.go
@@ -128,7 +128,11 @@ func TestSubdivide(t *testing.T) {
 
 }
 
-// test the Insert function
+// test the Insert Method
+// Case 1: The point is in the North-West Sector
+// Case 2: The point is in the North-East Sector
+// Case 3: The point is in the South-West Sector
+// Case 4: The point is in the South-East Sector
 func TestInsert(t *testing.T) {
 	// Define a new Quadtree-root-boundary
 	var boundary = BoundingBox{