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

Method describe

tests/catch.hpp:2952–2966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2950 return false;
2951 }
2952 std::string describe() const override {
2953 std::string description;
2954 description.reserve( 4 + m_matchers.size()*32 );
2955 description += "( ";
2956 bool first = true;
2957 for( auto matcher : m_matchers ) {
2958 if( first )
2959 first = false;
2960 else
2961 description += " or ";
2962 description += matcher->toString();
2963 }
2964 description += " )";
2965 return description;
2966 }
2967
2968 MatchAnyOf<ArgT>& operator || ( MatcherBase<ArgT> const& other ) {
2969 m_matchers.push_back( &other );

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected