MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / filterTests

Function filterTests

tests/catch.hpp:11565–11572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11563 }
11564
11565 std::vector<TestCase> filterTests( std::vector<TestCase> const& testCases, TestSpec const& testSpec, IConfig const& config ) {
11566 std::vector<TestCase> filtered;
11567 filtered.reserve( testCases.size() );
11568 for( auto const& testCase : testCases )
11569 if( matchTest( testCase, testSpec, config ) )
11570 filtered.push_back( testCase );
11571 return filtered;
11572 }
11573 std::vector<TestCase> const& getAllTestCasesSorted( IConfig const& config ) {
11574 return getRegistryHub().getTestCaseRegistry().getAllTestsSorted( config );
11575 }

Callers 3

listTestsFunction · 0.85
listTestsNamesOnlyFunction · 0.85
listTagsFunction · 0.85

Calls 2

matchTestFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected