do { \
bool _fl_result = (_fl_a_str != _fl_b_str); \
ss << #a << " != " << #b; \
ar.mExpression = ss.
str(); \
if (!_fl_result) { \
ess << "Both equal: \"" << _fl_a_str << "\""; \
ar.mExpanded = ess.
str(); \
} \
fl::test::TestContext::instance().reportAssert(ar); \
} while (0)
string str() const FL_NOEXCEPT
1178#define FL_CHECK_STR_NE(a, b) \
1179 do { \
1180 fl::string _fl_a_str(a); \
1181 fl::string _fl_b_str(b); \
1182 bool _fl_result = (_fl_a_str != _fl_b_str); \
1183 fl::test::AssertResult ar(_fl_result); \
1184 ar.mLocation = fl::test::SourceLocation(__FILE__, __LINE__); \
1185 fl::sstream ss; \
1186 ss << #a << " != " << #b; \
1187 ar.mExpression = ss.str(); \
1188 if (!_fl_result) { \
1189 fl::sstream ess; \
1190 ess << "Both equal: \"" << _fl_a_str << "\""; \
1191 ar.mExpanded = ess.str(); \
1192 } \
1193 fl::test::TestContext::instance().reportAssert(ar); \
1194 } while (0)