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

ParadoxGameConverters / Vic3ToHoI4 / 4189923376

pending completion
4189923376

Pull #265

github

GitHub
Merge e4a325e0a into eb87403de
Pull Request #265: Convert technology

154 of 154 new or added lines in 16 files covered. (100.0%)

1607 of 1796 relevant lines covered (89.48%)

86692.45 hits per line

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

0.0
/src/maps/province_points.h
1
#ifndef SRC_MAPS_PROVINCEPOINTS_H
2
#define SRC_MAPS_PROVINCEPOINTS_H
3

4

5

6
#include <climits>
7
#include <set>
8

9
#include "src/maps/point.h"
10

11

12

13
namespace maps
14
{
15

16
class ProvincePoints
17
{
18
  public:
19
   ProvincePoints() = default;
×
20
   ProvincePoints(std::set<Point> points);
21

22
   void AddPoint(const Point& the_point);
23

24
   [[nodiscard]] Point GetCentermostPoint() const;
25

26
  private:
27
   std::set<Point> points_;
28
   Point leftmost_point_ = {INT_MAX, 0};
29
   Point rightmost_point_ = {0, 0};
30
   Point highest_point_ = {0, 0};
31
   Point lowest_point_ = {0, INT_MAX};
32
};
33

34
}  // namespace maps
35

36

37

38
#endif  // SRC_MAPS_PROVINCEPOINTS_H
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