Add macro M_GREATER_OR_EQUAL_P (src, test, doc)

This commit is contained in:
Patrick Pelissier committed 2021-02-07 00:25:47 +01:00
1 parent da613ad188
commit 6e006d216b
3 files changed
+16

No files matched your search

+7
View File
@@ -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)));