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

DomCR / ACadSharp / 18093480635

29 Sep 2025 10:12AM UTC coverage: 77.923% (-0.4%) from 78.349%
18093480635

push

github

web-flow
Merge pull request #776 from DomCR/svg-linetypes

Svg linetypes

6787 of 9447 branches covered (71.84%)

Branch coverage included in aggregate %.

112 of 319 new or added lines in 10 files covered. (35.11%)

11 existing lines in 3 files now uncovered.

26081 of 32733 relevant lines covered (79.68%)

109509.64 hits per line

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

75.0
/src/ACadSharp/Extensions/LineWeightTypeExtensions.cs
1
using System;
2

3
namespace ACadSharp.Extensions
4
{
5
        public static class LineWeightTypeExtensions
6
        {
7
                public static double GetLineWeightValue(this LineWeightType lineWeight)
8
                {
20✔
9
                        double value = Math.Abs((double)lineWeight);
20✔
10

11
                        switch (lineWeight)
20!
12
                        {
13
                                case LineWeightType.W0:
NEW
14
                                        return 0.001;
×
15
                        }
16

17
                        return value / 100;
20✔
18
                }
20✔
19
        }
20
}
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