github
366 of 541 branches covered (67.65%)
Branch coverage included in aggregate %.
782 of 916 new or added lines in 19 files covered. (85.37%)
2264 existing lines in 22 files now uncovered.862 of 3387 relevant lines covered (25.45%)
2126.66 hits per line
1 |
namespace SatisfactoryTree.Models |
|
2 |
{ |
|
3 |
public class Building |
|
4 |
{ |
|
UNCOV
5
|
public Building(string name, |
× |
UNCOV
6
|
string image,
|
× |
UNCOV
7
|
ManufactoringBuildingType buildingType, |
× |
UNCOV
8
|
decimal powerConsumption, |
× |
UNCOV
9
|
decimal powerGeneration = 0)
|
× |
UNCOV
10
|
{ |
× |
UNCOV
11
|
Name = name; |
× |
UNCOV
12
|
Image = image; |
× |
UNCOV
13
|
BuildingType = buildingType; |
× |
UNCOV
14
|
PowerConsumption = powerConsumption; |
× |
UNCOV
15
|
PowerGeneration = powerGeneration; |
× |
UNCOV
16
|
} |
× |
17 |
|
|
UNCOV
18
|
public string Name { get; set; } |
× |
UNCOV
19
|
public string Image { get; set; } |
× |
UNCOV
20
|
public ManufactoringBuildingType BuildingType { get; set; }
|
× |
UNCOV
21
|
public decimal PowerConsumption { get; set; }
|
× |
UNCOV
22
|
public decimal PowerGeneration { get; set; }
|
× |
23 |
|
|
24 |
public enum ManufactoringBuildingType |
|
25 |
{ |
|
26 |
None = 0,
|
|
27 |
Extraction = 1,
|
|
28 |
Production = 2,
|
|
29 |
PowerGeneration = 3,
|
|
30 |
Special = 4
|
|
31 |
} |
|
32 |
} |
|
33 |
} |