public void NonDefaultConstructorTest(float x, float y, float width, float height) { RectangleF rect1 = new RectangleF(x, y, width, height); PointF p = new PointF(x, y); SizeF s = new SizeF(width, height); RectangleF rect2 = new RectangleF(p, s); Assert.Equal(rect1, rect2); }