public void TestTranslateQPointF() { var s = new QRectF(); s.X = 50; s.Y = 80; s.Width = 500; s.Height = 600; s.Translate(new QPointF(50, 20)); Assert.AreEqual(100, s.X); Assert.AreEqual(100, s.Y); }