public void OffsetTest(float x, float y, float width, float height)
{
RectangleF r1 = new RectangleF(x, y, width, height);
RectangleF expectedRect = new RectangleF(x + width, y + height, width, height);
PointF p = new PointF(width, height);
r1.Offset(p);
Assert.Equal(expectedRect, r1);
expectedRect.Offset(p);
r1.Offset(width, height);
Assert.Equal(expectedRect, r1);
}