From 668440ed0a13fa7e5557fe1b5e7e14322c87f714 Mon Sep 17 00:00:00 2001 From: hanemile Date: Sat, 3 Nov 2018 19:40:05 +0100 Subject: Describing the cases a bit more --- structs_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'structs_test.go') 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{ -- cgit 1.4.1