diff options
author | hanemile <hanemile@protonmail.com> | 2018-11-03 17:49:55 +0100 |
---|---|---|
committer | hanemile <hanemile@protonmail.com> | 2018-11-03 17:49:55 +0100 |
commit | e2751726e199f5b50d702a61672c037be96a2673 (patch) | |
tree | 3c39456722a3fa52f5e2b474156fec41225ef853 /structs_test.go | |
parent | 9980713b96ede448e90a0d285356c42901d59f7b (diff) |
the insideOf function is now called InsideOf and can be now called from everywhere!
Diffstat (limited to 'structs_test.go')
-rw-r--r-- | structs_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
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) } |