[PATCH 0/3] bitmap: add new tests

From: Yury Norov

Date: Wed Mar 18 2026 - 20:44:05 EST


- 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