Пример #1
0
        public void AbsoluteAreaTest()
        {
            Sides sides = new Sides(10, SideMask.None);

            Assert.AreEqual(sides.ScaleRectangle(new Rectangle(0, 0, 100, 100)), new Rectangle(10, 10, 80, 80), "Scaled area was incorrect.");
        }