예제 #1
0
        public void CompoundShapeReturnsTopSliceAtCoordinate()
        {
            CompoundShape    shape    = GetRectangularShape();
            IMoveableSection topSlice = shape.GetTopSliceSection(2, SlicingPlaneOffsetType.Top);

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