public void FromLTRBTest(float left, float top, float right, float bottom) { RectangleF expected = new RectangleF(left, top, right - left, bottom - top); RectangleF actual = RectangleF.FromLTRB(left, top, right, bottom); Assert.Equal(expected, actual); }