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

Method describe

tests/catch.hpp:2919–2933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2917 return true;
2918 }
2919 std::string describe() const override {
2920 std::string description;
2921 description.reserve( 4 + m_matchers.size()*32 );
2922 description += "( ";
2923 bool first = true;
2924 for( auto matcher : m_matchers ) {
2925 if( first )
2926 first = false;
2927 else
2928 description += " and ";
2929 description += matcher->toString();
2930 }
2931 description += " )";
2932 return description;
2933 }
2934
2935 MatchAllOf<ArgT>& operator && ( MatcherBase<ArgT> const& other ) {
2936 m_matchers.push_back( &other );

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected