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

ParadoxGameConverters / ImperatorToCK3 / 18179827724

02 Oct 2025 12:43AM UTC coverage: 48.038%. First build
18179827724

Pull #2474

github

web-flow
Merge 27cd3285e into 2bef110a1
Pull Request #2474: [WIP] Conversion of treasures into artifacts

2352 of 5719 branches covered (41.13%)

Branch coverage included in aggregate %.

11 of 294 new or added lines in 15 files covered. (3.74%)

8482 of 16834 relevant lines covered (50.39%)

5847.83 hits per line

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

0.0
/ImperatorToCK3/CK3/Modifiers/Modifier.cs
1
using commonItems.Collections;
2
using System.Collections.Generic;
3
using System.Text;
4

5
namespace ImperatorToCK3.CK3.Modifiers; 
6

7
public class Modifier : IIdentifiable<string> {
NEW
8
        public string Id { get; }
×
NEW
9
        private readonly Dictionary<string, double> effects = new();
×
10

NEW
11
        public Modifier(string id, IDictionary<string, double> effects) {
×
NEW
12
                Id = id;
×
NEW
13
                this.effects = new Dictionary<string, double>(effects);
×
NEW
14
        }
×
15
        
NEW
16
        public override string ToString() {
×
NEW
17
                var output = new StringBuilder();
×
NEW
18
                output.AppendLine($"{Id} = {{");
×
NEW
19
                foreach (var effect in effects) {
×
NEW
20
                        output.AppendLine($"\t{effect.Key} = {effect.Value}");
×
NEW
21
                }
×
NEW
22
                output.AppendLine("}");
×
NEW
23
                return output.ToString();
×
NEW
24
        }
×
25
}
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