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

DomCR / ACadSharp / 11434851786

21 Oct 2024 06:59AM UTC coverage: 76.287% (+0.001%) from 76.286%
11434851786

push

github

web-flow
Merge pull request #476 from DomCR/viewport-scale

Viewport scale

4931 of 7161 branches covered (68.86%)

Branch coverage included in aggregate %.

79 of 115 new or added lines in 9 files covered. (68.7%)

1 existing line in 1 file now uncovered.

19763 of 25209 relevant lines covered (78.4%)

36354.61 hits per line

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

78.57
/src/ACadSharp/Objects/Collections/ScaleCollection.cs
1
using System.Collections.Generic;
2

3
namespace ACadSharp.Objects.Collections
4
{
5
        public class ScaleCollection : ObjectDictionaryCollection<Scale>
6
        {
7
                private readonly Dictionary<string, Scale> _scales = new Dictionary<string, Scale>();
406✔
8

9
                public ScaleCollection(CadDictionary dictionary) : base(dictionary)
406✔
10
                {
406✔
11
                        this._dictionary = dictionary;
406✔
12

13
                        foreach (Scale item in this._dictionary)
20,766✔
14
                        {
9,774✔
15
                                this._scales.Add(item.Name, item);
9,774✔
16
                        }
9,774✔
17
                }
406✔
18

19
                /// <summary>
20
                /// 
21
                /// </summary>
22
                /// <param name="entry"></param>
23
                public override void Add(Scale entry)
NEW
24
                {
×
NEW
25
                        base.Add(entry);
×
UNCOV
26
                }
×
27
        }
28
}
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