Improve test suite

This commit is contained in:
Patrick Pelissier committed 2023-02-24 19:56:56 +01:00
1 parent fbab093d52
commit 4140df5bfc
3 files changed
+10 -1

No files matched your search

+2
View File
@@ -98,6 +98,7 @@ static void test_uint(void)
for M_EACH(item, tree, UINT_OPLIST) {
assert (*item == tab2[k] );
k ++;
assert(k <= 2);
}
assert(k == 2);
@@ -109,6 +110,7 @@ static void test_uint(void)
for M_EACH(item, tree, UINT_OPLIST) {
assert (*item == tab3[k] );
k ++;
assert(k <= 3);
}
assert(k == 3);