From e2751726e199f5b50d702a61672c037be96a2673 Mon Sep 17 00:00:00 2001 From: hanemile Date: Sat, 3 Nov 2018 17:49:55 +0100 Subject: the insideOf function is now called InsideOf and can be now called from everywhere! --- structs_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'structs_test.go') diff --git a/structs_test.go b/structs_test.go index 685557b..108cbc3 100644 --- a/structs_test.go +++ b/structs_test.go @@ -48,6 +48,7 @@ func TestNewCoord(t *testing.T) { t.Log(newCoordinate) } +// TestBoundingBox creates a bounding box func TestBoundingBox(t *testing.T) { var newBoundingBox = BoundingBox{ center: Coord{ @@ -70,7 +71,7 @@ func TestInsideOf(t *testing.T) { halfDimension: 1, }, 0) - var isInsideOf = testCoordinate.insideOf(testQuadTree) + var isInsideOf = testCoordinate.InsideOf(testQuadTree) t.Log(isInsideOf) } -- cgit 1.4.1