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

DomCR / ACadSharp / 16517755257

25 Jul 2025 08:40AM UTC coverage: 75.21% (+0.03%) from 75.178%
16517755257

Pull #721

github

web-flow
Merge 540c476da into aea407c1e
Pull Request #721: SVG paper units

6061 of 8858 branches covered (68.42%)

Branch coverage included in aggregate %.

97 of 113 new or added lines in 6 files covered. (85.84%)

5 existing lines in 1 file now uncovered.

24020 of 31138 relevant lines covered (77.14%)

78680.85 hits per line

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

70.0
/src/ACadSharp/Extensions/UnitExtensions.cs
1
using ACadSharp.Objects;
2
using ACadSharp.Types.Units;
3

4
namespace ACadSharp.Extensions
5
{
6
        public static class UnitExtensions
7
        {
8
                public static UnitsType ToUnits(this PlotPaperUnits units)
9
                {
5✔
10
                        switch (units)
5!
11
                        {
12
                                case PlotPaperUnits.Inches:
13
                                        return UnitsType.Inches;
1✔
14
                                case PlotPaperUnits.Millimeters:
15
                                        return UnitsType.Millimeters;
4✔
16
                                case PlotPaperUnits.Pixels:
17
                                default:
NEW
18
                                        return UnitsType.Unitless;
×
19
                        }
20
                }
5✔
21
        }
22
}
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