do { \
if (expr) { \
fl::test::TestContext::instance().checkFailed("!(" #expr ")", __FILE__, __LINE__); \
} else { \
ar.mExpression = "!(" #expr ")"; \
fl::test::TestContext::instance().reportAssert(ar); \
} \
} while (0)
737#define FL_CHECK_FALSE(expr) \
738 do { \
739 if (expr) { \
740 fl::test::TestContext::instance().checkFailed("!(" #expr ")", __FILE__, __LINE__); \
741 } else { \
742 fl::test::AssertResult ar(true); \
743 ar.mExpression = "!(" #expr ")"; \
744 ar.mLocation = fl::test::SourceLocation(__FILE__, __LINE__); \
745 fl::test::TestContext::instance().reportAssert(ar); \
746 } \
747 } while (0)