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

Return-To-The-Roots / s25client / 44912803898

21 Nov 2026 02:13PM UTC coverage: 52.083% (+0.3%) from 51.805%
44912803898

Pull #1964

github

web-flow
Merge d66ae79af into b0f0ea98b
Pull Request #1964: Fix handling of stranded soldiers after successful sea attack

11 of 13 new or added lines in 3 files covered. (84.62%)

312 existing lines in 121 files now uncovered.

24641 of 47311 relevant lines covered (52.08%)

47527.52 hits per line

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

85.71
/libs/s25main/mapGenerator/NodeMapUtilities.cpp
1
// Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org)
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4

5
#include "mapGenerator/NodeMapUtilities.h"
6

7
namespace rttr::mapGenerator {
8

9
std::vector<MapPoint> selectPoints(const std::function<bool(const MapPoint&)>& predicate, const MapExtent& size)
180 ✔
10
{
11
    std::vector<MapPoint> selectedNodes;
180 ✔
12
    RTTR_FOREACH_PT(MapPoint, size)
461,656 ✔
13
    {
14
        if(predicate(pt))
453,264 ✔
15
        {
16
            selectedNodes.push_back(pt);
124,846 ✔
17
        }
18
    }
19
    return selectedNodes;
180 ✔
UNCOV
20
}
×
21

22
} // namespace rttr::mapGenerator
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc