Пример #1
0
 public void TestGetOptimisticRectangleCentre(
     int width, int height,
     int resultX, int resultY,
     float x1, float y1, float x2, float y2, float x3, float y3)
 {
     InitCorner(x1, x2, x3, y1, y2, y3);
     ccl.GetOptimisticCenter(new Size(width, height)).Should().Be(new Point(resultX, resultY));
 }