MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / describe

Method describe

extlibs/catch/include/catch/catch.hpp:3243–3257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3241 return true;
3242 }
3243 std::string describe() const override {
3244 std::string description;
3245 description.reserve( 4 + m_matchers.size()*32 );
3246 description += "( ";
3247 bool first = true;
3248 for( auto matcher : m_matchers ) {
3249 if( first )
3250 first = false;
3251 else
3252 description += " and ";
3253 description += matcher->toString();
3254 }
3255 description += " )";
3256 return description;
3257 }
3258
3259 MatchAllOf<ArgT>& operator && ( MatcherBase<ArgT> const& other ) {
3260 m_matchers.push_back( &other );

Callers

nothing calls this directly

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected