| A D | scx_test.h | 100 #define SCX_GT(_x, _y) SCX_FAIL_IF((_x) <= (_y), "Expected %s > %s (%lu > %lu)", \ argument 101 #_x, #_y, (u64)(_x), (u64)(_y)) 102 #define SCX_GE(_x, _y) SCX_FAIL_IF((_x) < (_y), "Expected %s >= %s (%lu >= %lu)", \ argument 103 #_x, #_y, (u64)(_x), (u64)(_y)) 104 #define SCX_LT(_x, _y) SCX_FAIL_IF((_x) >= (_y), "Expected %s < %s (%lu < %lu)", \ argument 105 #_x, #_y, (u64)(_x), (u64)(_y)) 106 #define SCX_LE(_x, _y) SCX_FAIL_IF((_x) > (_y), "Expected %s <= %s (%lu <= %lu)", \ argument 107 #_x, #_y, (u64)(_x), (u64)(_y)) 109 #_x, #_y, (u64)(_x), (u64)(_y)) 110 #define SCX_ASSERT(_x) SCX_FAIL_IF(!(_x), "Expected %s to be true (%lu)", \ argument [all …]
|