MCPcopy Create free account
hub / github.com/catchorg/Catch2 / toString

Method toString

extras/catch_amalgamated.cpp:584–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582
583
584 std::string Approx::toString() const {
585 ReusableStringStream rss;
586 rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )";
587 return rss.str();
588 }
589
590 bool Approx::equalityComparisonImpl(const double other) const {
591 // First try with fixed margin, then compute margin based on epsilon, scale and Approx's value

Callers 7

describeMethod · 0.45
describeMethod · 0.45
describeMethod · 0.45
describe_multi_matcherFunction · 0.45
describeMethod · 0.45
convertMethod · 0.45

Calls 2

stringifyFunction · 0.70
strMethod · 0.45

Tested by

no test coverage detected