diff options
Diffstat (limited to 'structs_test.go')
-rw-r--r-- | structs_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/structs_test.go b/structs_test.go index ceeace7..5b00aa5 100644 --- a/structs_test.go +++ b/structs_test.go @@ -7,7 +7,7 @@ import ( // Quadtree Test func TestQuadtree(t *testing.T) { - testQuadtree := quadtree{ + testQuadtree := Quadtree{ nodeCapacity: 0, boundary: BoundingBox{}, pointsSlice: nil, @@ -110,16 +110,16 @@ func TestSubdivide(t *testing.T) { // test the Insert function func TestInsert(t *testing.T) { - // Define a new quadtree-root-boundary + // Define a new Quadtree-root-boundary var boundary = BoundingBox{ center: Coord{0, 0}, halfDimension: 3, } - // create a new quadtree using the boundary + // create a new Quadtree using the boundary var newQuadtree = *NewQuadtree(boundary, 0) - // Define a star and Insert it into the quadtree + // Define a star and Insert it into the Quadtree singleCoord := Coord{0.5, 0.5} newQuadtree.Insert(singleCoord) |