apprenda take home assessment
Derek McQuay
69aff8a038
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. |
||
---|---|---|
cmd/recty | ||
.gitignore | ||
LICENSE | ||
point_test.go | ||
point.go | ||
README.md | ||
rectangle_test.go | ||
rectangle.go | ||
triangle_test.go | ||
triangle.go |
rect
apprenda take home assessment