public void FromCenterSize()
    {
        var r1 = Rect2D.FromCenterSize(40, 10);

        Assert.AreEqual(10, r1.Width);
        Assert.AreEqual(10, r1.Height);

        Assert.AreEqual(35, r1.xMin);
        Assert.AreEqual(35, r1.yMin);
        Assert.AreEqual(45, r1.xMax);
        Assert.AreEqual(45, r1.yMax);
    }