apprenda take home assessment
Go to file
Derek McQuay 69aff8a038 added function to test containment
Containment uses the sumOfTri to determine if a point is inside of the
rectangle, r1.  It checks all four points of r2 (p1, p2, p3, p4) against
r1.  If they are all inside, then the rectangle is contained.
2016-08-26 13:48:26 -07:00
cmd/recty created rectangle struct and IsRect() 2016-08-26 09:08:30 -07:00
.gitignore updated gitignore for swp files 2016-08-26 09:07:42 -07:00
LICENSE initial commit 2016-08-26 08:13:01 -07:00
point_test.go added method to determine distance between points 2016-08-26 11:37:18 -07:00
point.go added method to determine distance between points 2016-08-26 11:37:18 -07:00
README.md initial commit 2016-08-26 08:13:01 -07:00
rectangle_test.go added function to test containment 2016-08-26 13:48:26 -07:00
rectangle.go added function to test containment 2016-08-26 13:48:26 -07:00
triangle_test.go added area of three points 2016-08-26 12:02:43 -07:00
triangle.go added area of three points 2016-08-26 12:02:43 -07:00

rect

apprenda take home assessment