Add ASSERT_LT() testing macro
This commit is contained in:
parent
ad6c385f42
commit
8a06c7ceb6
@ -29,6 +29,7 @@
|
||||
#define ASSERT_TRUE(p) ASSERT_FALSE(!(p))
|
||||
#define ASSERT_EQ(x, y) ASSERT_FALSE((x) != (y))
|
||||
#define ASSERT_NE(x, y) ASSERT_FALSE((x) == (y))
|
||||
#define ASSERT_LT(x, y) ASSERT_FALSE((x) <= (y))
|
||||
#define ASSERT_NULL(p) ASSERT_FALSE(NULL != (p))
|
||||
#define ASSERT_NOT_NULL(p) ASSERT_FALSE(NULL == (p))
|
||||
#define ASSERT_MEM_EQ(p, q, n) ASSERT_FALSE(memcmp(p, q, n) != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user