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 ProductionCalculation |
|
4 |
{ |
|
UNCOV
5
|
public ProductionCalculation()
|
× |
UNCOV
6
|
{ |
× |
UNCOV
7
|
ProductionItems = []; |
× |
UNCOV
8
|
} |
× |
9 |
|
|
UNCOV
10
|
public List<ProductionItem> ProductionItems { get; set; }
|
× |
11 |
|
|
12 |
private decimal _powerConsumption;
|
|
13 |
public decimal PowerConsumption
|
|
14 |
{ |
|
15 |
get |
|
UNCOV
16
|
{ |
× |
UNCOV
17
|
return Math.Round(_powerConsumption, 2); |
× |
UNCOV
18
|
} |
× |
19 |
set |
|
UNCOV
20
|
{ |
× |
UNCOV
21
|
_powerConsumption = value; |
× |
UNCOV
22
|
} |
× |
23 |
} |
|
24 |
|
|
25 |
} |
|
26 |
} |