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

Function formatReconstructedExpression

extlibs/catch/include/catch/catch.hpp:10136–10143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10134 ITransientExpression::~ITransientExpression() = default;
10135
10136 void formatReconstructedExpression( std::ostream &os, std::string const& lhs, StringRef op, std::string const& rhs ) {
10137 if( lhs.size() + rhs.size() < 40 &&
10138 lhs.find('\n') == std::string::npos &&
10139 rhs.find('\n') == std::string::npos )
10140 os << lhs << " " << op << " " << rhs;
10141 else
10142 os << lhs << "\n" << op << "\n" << rhs;
10143 }
10144}
10145// end catch_decomposer.cpp
10146// start catch_enforce.cpp

Callers 1

Calls 2

sizeMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected