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

DomCR / ACadSharp / 12952900945

24 Jan 2025 03:47PM UTC coverage: 76.119% (+0.09%) from 76.029%
12952900945

Pull #525

github

web-flow
Merge 0b1e965fd into f3555a8fa
Pull Request #525: Issue-524 Explode Hatch

5324 of 7724 branches covered (68.93%)

Branch coverage included in aggregate %.

2 of 52 new or added lines in 2 files covered. (3.85%)

127 existing lines in 12 files now uncovered.

21278 of 27224 relevant lines covered (78.16%)

39464.89 hits per line

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

44.44
/src/ACadSharp/Entities/HatchPattern.Line.cs
1
using ACadSharp.Attributes;
2
using CSMath;
3
using System.Collections.Generic;
4

5
namespace ACadSharp.Entities
6
{
7
        public partial class HatchPattern
8
        {
9
                public class Line
10
                {
11
                        /// <summary>
12
                        /// Pattern line angle.
13
                        /// </summary>
14
                        [DxfCodeValue(DxfReferenceType.IsAngle, 53)]
15
                        public double Angle { get; set; }
13,186✔
16

17
                        /// <summary>
18
                        /// Pattern line base point.
19
                        /// </summary>
20
                        [DxfCodeValue(43, 44)]
21
                        public XY BasePoint { get; set; }
13,572✔
22

23
                        /// <summary>
24
                        /// Pattern line offset.
25
                        /// </summary>
26
                        [DxfCodeValue(45, 46)]
27
                        public XY Offset { get; set; }
17,722✔
28

29
                        /// <summary>
30
                        /// Line dashes.
31
                        /// </summary>
32
                        [DxfCodeValue(DxfReferenceType.Count, 79)]
33
                        [DxfCollectionCodeValue(49)]
34
                        public List<double> DashLengths { get; set; } = new List<double>();
30,043✔
35

36
                        public Line Clone()
UNCOV
37
                        {
×
UNCOV
38
                                Line clone = (Line)this.MemberwiseClone();
×
UNCOV
39
                                clone.DashLengths = new List<double>(this.DashLengths);
×
UNCOV
40
                                return clone;
×
UNCOV
41
                        }
×
42
                }
43
        }
44
}
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

© 2025 Coveralls, Inc