MCPcopy Create free account
hub / github.com/Profactor/cv-plot / formatReconstructedExpression

Function formatReconstructedExpression

CvPlot/ext/catch2/inc/catch.hpp:10390–10397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10388 ITransientExpression::~ITransientExpression() = default;
10389
10390 void formatReconstructedExpression( std::ostream &os, std::string const& lhs, StringRef op, std::string const& rhs ) {
10391 if( lhs.size() + rhs.size() < 40 &&
10392 lhs.find('\n') == std::string::npos &&
10393 rhs.find('\n') == std::string::npos )
10394 os << lhs << " " << op << " " << rhs;
10395 else
10396 os << lhs << "\n" << op << "\n" << rhs;
10397 }
10398}
10399// end catch_decomposer.cpp
10400// start catch_enforce.cpp

Callers 1

Calls 2

sizeMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected