public void CreateFromPoints(Point2[] points, BoundingRectangle expectedBoundingRectangle) { var actualBoundingRectangle = BoundingRectangle.CreateFrom(points); Assert.AreEqual(expectedBoundingRectangle, actualBoundingRectangle); }
public void CreateFromMinimumMaximum(Point2 minimum, Point2 maximum, BoundingRectangle expectedBoundingRectangle) { var actualBoundingRectangle = BoundingRectangle.CreateFrom(minimum, maximum); Assert.AreEqual(expectedBoundingRectangle, actualBoundingRectangle); }