Skip to content

Commit d1d5253

Browse files
fuhlig1karabowi
authored andcommitted
test(geobase): Don't stop test execution on failure
1 parent 338faa2 commit d1d5253

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/geobase/checks_FairGeoSet.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@ auto checkGeoSetNamingConventions(FairGeoSet& geo, const std::string& prefix, in
2424
SECTION("construction")
2525
{
2626
// Check that members are correctly set by constructor
27-
REQUIRE(geo.GetName() == prefix);
28-
REQUIRE(geo.getMaxModules() == modules);
27+
CHECK(geo.GetName() == prefix);
28+
CHECK(geo.getMaxModules() == modules);
2929
}
3030

3131
SECTION("name generation")
3232
{
3333
auto index = GENERATE(take(100, random(1, 1000)));
3434
const auto name = fmt::format("{}{}", prefix, index + 1);
3535

36-
REQUIRE(geo.getModuleName(index) == name);
37-
REQUIRE(geo.getEleName(index) == name);
36+
CHECK(geo.getModuleName(index) == name);
37+
CHECK(geo.getEleName(index) == name);
3838
}
3939

4040
SECTION("name parsing")
4141
{
4242
auto index = GENERATE(take(100, random(1, 1000)));
4343
const auto name = fmt::format("{}{}", prefix, index + 1);
4444

45-
REQUIRE(geo.getModNumInMod(name) == index);
45+
CHECK(geo.getModNumInMod(name) == index);
4646
}
4747
}
4848

0 commit comments

Comments
 (0)