public void TestGetRectangleLastVertex( int width, int height, float resultX, float resultY, float x1, float y1, float x2, float y2, float x3, float y3) { InitCorner(x1, x2, x3, y1, y2, y3); ccl.GetRectangleLastVertex(new Size(width, height), ccl.GetOptimisticCenter(new Size(width, height))).Should().Be(new PointF(resultX, resultY)); }