MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / toString

Method toString

unittests/catch.hpp:4644–4648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4642 }
4643
4644 std::string Approx::toString() const {
4645 ReusableStringStream rss;
4646 rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )";
4647 return rss.str();
4648 }
4649
4650 bool Approx::equalityComparisonImpl(const double other) const {
4651 // First try with fixed margin, then compute margin based on epsilon, scale and Approx's value

Callers 5

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

Calls 3

stringifyFunction · 0.85
strMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected