diff options
| author | hanemile <hanemile@protonmail.com> | 2018-11-03 18:10:56 +0100 |
|---|---|---|
| committer | hanemile <hanemile@protonmail.com> | 2018-11-03 18:10:56 +0100 |
| commit | a7bd6a7d95a62238256db04c81d956d76036a6fa (patch) | |
| tree | 6510b58d6da2373ac830aa8fb09b99cc8149e9a7 | |
| parent | 6d8b481889d63a2dd3fff4ec22bc01e713086333 (diff) | |
Updated the output comment to match the real output
| -rw-r--r-- | structs_test.go | 4 |
1 files 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 |
