From a7bd6a7d95a62238256db04c81d956d76036a6fa Mon Sep 17 00:00:00 2001 From: hanemile Date: Sat, 3 Nov 2018 18:10:56 +0100 Subject: Updated the output comment to match the real output --- structs_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structs_test.go b/structs_test.go index fe41cae..fc7e66f 100644 --- a/structs_test.go +++ b/structs_test.go @@ -130,13 +130,13 @@ func TestInsert(t *testing.T) { // The NewCoord function can be used to create a new Coordinate in the following way: func ExampleNewCoord() { fmt.Println(NewCoord(1, 1)) - // Output: {1, 1} + // Output: {1 1} } // The NewBoundingBox function can combine a coordinate resulting in a BoundingBox: func ExampleNewBoundingBox() { fmt.Println(NewBoundingBox(NewCoord(0, 0), 10)) - // Output: {{0, 0}, 10} + // Output: {{0 0} 10} } // Using the InsideOf() function, it can be determined if a point is inside of a bounding box -- cgit 1.4.1