Beispiel #1
0
        public void CompoundShapeReturnsBottomSliceOfArea()
        {
            CompoundShape    shape       = GetRectangularShape();
            IMoveableSection bottomSlice = shape.GetBottomSliceOfArea(6);

            Assert.AreEqual(6, bottomSlice.A);
            Assert.AreEqual(-5.5, bottomSlice.YMax);
        }