do { \
bool _fl_result = (_fl_a_str == _fl_b_str); \
ss << #a << " == " << #b; \
ar.mExpression = ss.
str(); \
if (!_fl_result) { \
ess << "\"" << _fl_a_str << "\" != \"" << _fl_b_str << "\""; \
ar.mExpanded = ess.
str(); \
} \
fl::test::TestContext::instance().reportAssert(ar); \
} while (0)
string str() const FL_NOEXCEPT
1160#define FL_CHECK_STR_EQ(a, b) \
1161 do { \
1162 fl::string _fl_a_str(a); \
1163 fl::string _fl_b_str(b); \
1164 bool _fl_result = (_fl_a_str == _fl_b_str); \
1165 fl::test::AssertResult ar(_fl_result); \
1166 ar.mLocation = fl::test::SourceLocation(__FILE__, __LINE__); \
1167 fl::sstream ss; \
1168 ss << #a << " == " << #b; \
1169 ar.mExpression = ss.str(); \
1170 if (!_fl_result) { \
1171 fl::sstream ess; \
1172 ess << "\"" << _fl_a_str << "\" != \"" << _fl_b_str << "\""; \
1173 ar.mExpanded = ess.str(); \
1174 } \
1175 fl::test::TestContext::instance().reportAssert(ar); \
1176 } while (0)