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

ParadoxGameConverters / Vic3ToHoI4 / 16833341297

08 Aug 2025 02:47PM UTC coverage: 94.208% (+0.007%) from 94.201%
16833341297

Pull #746

github

web-flow
Merge 7d1d5deee into 27b1ac9ea
Pull Request #746: More triggers

320 of 377 new or added lines in 32 files covered. (84.88%)

1 existing line in 1 file now uncovered.

22464 of 23845 relevant lines covered (94.21%)

56652.68 hits per line

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

50.0
/src/hoi4_world/roles/triggers/is_on_continent_trigger.cpp
1
#include "src/hoi4_world/roles/triggers/is_on_continent_trigger.h"
2

3

4

5
namespace hoi4
6
{
7

8
bool IsOnContinentTrigger::IsValid(const Context& context, [[maybe_unused]] const World& world) const
2✔
9
{
10
   const StateScope* maybe_state = std::get_if<StateScope>(&context.this_scope);
2✔
11
   if (!maybe_state)
2✔
12
   {
NEW
13
      return false;
×
14
   }
15

16
   return maybe_state->state.GetContinent() == value_;
2✔
17
}
18

19

NEW
20
void PrintTo([[maybe_unused]] const IsOnContinentTrigger& trigger, std::ostream* os)
×
21
{
NEW
22
   *os << "IsOnContinentTrigger: " << trigger.value_ << "\n";
×
NEW
23
}
×
24

25
}  // namespace hoi4
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

© 2025 Coveralls, Inc