MCPcopy Create free account
hub / github.com/RenderKit/embree / formatReconstructedExpression

Function formatReconstructedExpression

tutorials/external/catch.hpp:8534–8541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8532 ITransientExpression::~ITransientExpression() = default;
8533
8534 void formatReconstructedExpression( std::ostream &os, std::string const& lhs, StringRef op, std::string const& rhs ) {
8535 if( lhs.size() + rhs.size() < 40 &&
8536 lhs.find('\n') == std::string::npos &&
8537 rhs.find('\n') == std::string::npos )
8538 os << lhs << " " << op << " " << rhs;
8539 else
8540 os << lhs << "\n" << op << "\n" << rhs;
8541 }
8542}
8543// end catch_decomposer.cpp
8544// start catch_enforce.cpp

Callers 1

Calls 2

sizeMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected