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

Method getExpression

unittests/catch.hpp:5107–5112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5105 }
5106
5107 std::string AssertionResult::getExpression() const {
5108 if( isFalseTest( m_info.resultDisposition ) )
5109 return "!(" + m_info.capturedExpression + ")";
5110 else
5111 return m_info.capturedExpression;
5112 }
5113
5114 std::string AssertionResult::getExpressionInMacro() const {
5115 std::string expr;

Callers 2

assertionEndedMethod · 0.80

Calls 1

isFalseTestFunction · 0.85

Tested by

no test coverage detected