Exemplo n.º 1
0
        public void CreateFromPoints(Point2[] points, CircleF expectedCircle)
        {
            var actualCircle = CircleF.CreateFrom(points);

            Assert.AreEqual(expectedCircle, actualCircle);
        }
Exemplo n.º 2
0
        public void CreateFromMinimumMaximum(Point2 minimum, Point2 maximum, CircleF expectedBoundingCircle)
        {
            var actualBoundingCircle = CircleF.CreateFrom(minimum, maximum);

            Assert.AreEqual(expectedBoundingCircle, actualBoundingCircle);
        }