File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5353 * The difference in behavior is that ASSERT triggers a breakpoint while
5454 * verify does not.
5555 *
56- * #define TU_VERIFY(cond) if( cond) return false;
57- * #define TU_VERIFY(cond,ret) if( cond) return ret;
56+ * #define TU_VERIFY(cond) if (! cond) return false;
57+ * #define TU_VERIFY(cond,ret) if (! cond) return ret;
5858 *
59- * #define TU_ASSERT(cond) if( cond) {TU_MESS_FAILED(); TU_BREAKPOINT(), return false;}
60- * #define TU_ASSERT(cond,ret) if( cond) {TU_MESS_FAILED(); TU_BREAKPOINT(), return ret;}
59+ * #define TU_ASSERT(cond) if (! cond) {TU_MESS_FAILED(); TU_BREAKPOINT(), return false;}
60+ * #define TU_ASSERT(cond,ret) if (! cond) {TU_MESS_FAILED(); TU_BREAKPOINT(), return ret;}
6161 *------------------------------------------------------------------*/
6262
6363#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments