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

Method describe

extlibs/catch/include/catch/catch.hpp:3276–3290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3274 return false;
3275 }
3276 std::string describe() const override {
3277 std::string description;
3278 description.reserve( 4 + m_matchers.size()*32 );
3279 description += "( ";
3280 bool first = true;
3281 for( auto matcher : m_matchers ) {
3282 if( first )
3283 first = false;
3284 else
3285 description += " or ";
3286 description += matcher->toString();
3287 }
3288 description += " )";
3289 return description;
3290 }
3291
3292 MatchAnyOf<ArgT>& operator || ( MatcherBase<ArgT> const& other ) {
3293 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