MCPcopy Create free account
hub / github.com/RenderKit/oidn / reconstructExpression

Method reconstructExpression

external/catch.hpp:8287–8297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8285 resultType(_resultType) {}
8286
8287 std::string AssertionResultData::reconstructExpression() const {
8288
8289 if( reconstructedExpression.empty() ) {
8290 if( lazyExpression ) {
8291 ReusableStringStream rss;
8292 rss << lazyExpression;
8293 reconstructedExpression = rss.str();
8294 }
8295 }
8296 return reconstructedExpression;
8297 }
8298
8299 AssertionResult::AssertionResult( AssertionInfo const& info, AssertionResultData const& data )
8300 : m_info( info ),

Callers 1

getExpandedExpressionMethod · 0.80

Calls 2

strMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected