• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 11160366986

03 Oct 2024 10:33AM UTC coverage: 76.234% (+0.04%) from 76.19%
11160366986

push

github

web-flow
Merge pull request #422 from DomCR/dedicated-boundingbox-tests

Dedicated boundingbox tests

4893 of 7113 branches covered (68.79%)

Branch coverage included in aggregate %.

92 of 119 new or added lines in 12 files covered. (77.31%)

3 existing lines in 2 files now uncovered.

19656 of 25089 relevant lines covered (78.35%)

33305.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/ACadSharp/Entities/Hatch.BoundaryPath.Line.cs
1
using ACadSharp.Attributes;
2
using CSMath;
3

4
namespace ACadSharp.Entities
5
{
6
        public partial class Hatch
7
        {
8
                public partial class BoundaryPath
9
                {
10
                        public class Line : Edge
11
                        {
12
                                public override EdgeType Type => EdgeType.Line;
416✔
13

14
                                /// <summary>
15
                                /// Start point (in OCS)
16
                                /// </summary>
17
                                [DxfCodeValue(10, 20)]
18
                                public XY Start { get; set; }
8,452✔
19

20
                                /// <summary>
21
                                /// Endpoint (in OCS)
22
                                /// </summary>
23
                                [DxfCodeValue(11, 21)]
24
                                public XY End { get; set; }
8,452✔
25

26

27
                                /// <inheritdoc/>
28
                                public override BoundingBox GetBoundingBox()
NEW
29
                                {
×
NEW
30
                                        return BoundingBox.FromPoints([(XYZ)this.Start, (XYZ)this.End]);
×
NEW
31
                                }
×
32
                        }
33
                }
34
        }
35
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc