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

samsmithnz / SatisfactoryTree / 17597809527

09 Sep 2025 10:56PM UTC coverage: 89.152% (+36.3%) from 52.88%
17597809527

Pull #284

github

web-flow
Merge 0266f5cbc into e771c4f78
Pull Request #284: Reworking logic to handle imports and exports

280 of 326 branches covered (85.89%)

Branch coverage included in aggregate %.

887 of 983 new or added lines in 26 files covered. (90.23%)

887 of 983 relevant lines covered (90.23%)

728.21 hits per line

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

52.17
/src/SatisfactoryTree.Logic/Models/Building.cs
1
namespace SatisfactoryTree.Logic.Models
2
{
3
    public class Building
4
    {
5
        public string Name { get; set; }
18,589✔
6
        public double Power { get; set; }
4,674✔
7
        public double? MinPower { get; set; }
523✔
8
        public double? MaxPower { get; set; }
523✔
9

10
        // Parameterless constructor for JSON deserialization
11
        public Building()
3,080✔
12
        {
3,080✔
13
            Name = string.Empty;
3,080✔
14
        }
3,080✔
15

16
        public Building(string name)
3,111✔
17
        {
3,111✔
18
            Name = name;
3,111✔
19
        }
3,111✔
20

21
        public override bool Equals(object? obj)
NEW
22
        {
×
NEW
23
            if (obj is Building otherBuilding)
×
NEW
24
            {
×
NEW
25
                return Name == otherBuilding.Name;
×
26
            }
NEW
27
            return false;
×
NEW
28
        }
×
29

30
        public override int GetHashCode()
NEW
31
        {
×
NEW
32
            return Name.GetHashCode();
×
NEW
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