GetPoints() публичный метод

public GetPoints ( ) : IEnumerable
Результат IEnumerable
Пример #1
0
        public void GetPoints_Should_Return_All_Segment_Points()
        {
            var segment = new XArcSegment()
            {
                Point = new XPoint(),
                Size = new XPathSize() { Width = 10, Height = 20 },
                RotationAngle = 90,
                IsLargeArc = true,
                SweepDirection = XSweepDirection.Clockwise
            };

            var target = segment.GetPoints();

            Assert.Equal(1, target.Count());

            Assert.Contains(segment.Point, target);
        }