Reformat and specify clz for bitset size = 0
This commit is contained in:
1 parent
e25e9ba29b
commit
709168652a
2 files changed
+10
-7
No files matched your search
@@ -321,6 +321,7 @@ static void test_let(void)
|
||||
static void test_clz(void)
|
||||
{
|
||||
M_LET(s1, bitset_t) {
|
||||
assert (bitset_clz(s1) == 0);
|
||||
bitset_push_back(s1, false);
|
||||
assert (bitset_clz(s1) == 1);
|
||||
bitset_push_back(s1, false);
|
||||
|
||||
Reference in new issue
Block a user