[PATCH 0/3] bitmap: add new tests

Yury Norov
2026-03-19T00:43:55Z

- Test bitmap_weight() for correctness when tail bits are not zeroed.
- Explicitly test nbits == 0 case.

On top of bitmap-for-next.

Yury Norov (3):
bitmap: test bitmap_weight() for more
bitmap: exclude nbits == 0 cases from bitmap test
bitmap: add test_zero_nbits()

lib/test_bitmap.c | 84 ++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 80 insertions(+), 4 deletions(-)

--
2.43.0