Beispiel #1
0
        public void CompoundShapeReturnsBottomSliceAtCoordinate()
        {
            CompoundShape    shape    = GetRectangularShape();
            IMoveableSection topSlice = shape.GetBottomSliceSection(2, SlicingPlaneOffsetType.Bottom);

            Assert.AreEqual(24, topSlice.A);
            Assert.AreEqual(-4, topSlice.YMax);
        }