Add macro M_GREATER_OR_EQUAL_P (src, test, doc)
This commit is contained in:
1 parent
da613ad188
commit
6e006d216b
3 files changed
+16
No files matched your search
@@ -128,6 +128,13 @@ static void test_incdec(void)
|
||||
assert(M_LESS_THAN_P(4, 6));
|
||||
assert(M_LESS_THAN_P(4, 7));
|
||||
|
||||
assert(M_GREATER_OR_EQUAL_P(4, 2));
|
||||
assert(M_GREATER_OR_EQUAL_P(4, 3));
|
||||
assert(M_GREATER_OR_EQUAL_P(4, 4));
|
||||
assert(!M_GREATER_OR_EQUAL_P(4, 5));
|
||||
assert(!M_GREATER_OR_EQUAL_P(4, 6));
|
||||
assert(!M_GREATER_OR_EQUAL_P(4, 7));
|
||||
|
||||
assert(!M_KEYWORD_P(UNDERFLOW, M_SUB(1, 1)));
|
||||
assert(M_KEYWORD_P(UNDERFLOW, M_SUB(1, 2)));
|
||||
assert(M_KEYWORD_P(UNDERFLOW, M_SUB(1, 6)));
|
||||
|
||||
Reference in new issue
Block a user