Renable test due to M_EACH handling the case of having only _cref operator.
This commit is contained in:
1 parent
047a3ac9c1
commit
8b327c4eaa
1 file changed
+2
-3
@@ -103,15 +103,14 @@ static void test1(void)
|
|||||||
assert (v == c);
|
assert (v == c);
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
n = 0;
|
n = 0;
|
||||||
for M_CEACH (item, set, BITSET_OPLIST) {
|
for M_EACH (item, set, BITSET_OPLIST) {
|
||||||
bool v = (n*17547854547UL)&1;
|
bool v = (n*17547854547UL)&1;
|
||||||
bool c = *item;
|
bool c = *item;
|
||||||
assert (v == c);
|
assert (v == c);
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
assert(bitset_size(set2) == 50);
|
assert(bitset_size(set2) == 50);
|
||||||
assert(bitset_size(set) == 200);
|
assert(bitset_size(set) == 200);
|
||||||
|
|||||||
Reference in new issue
Block a user