lib: tests: Add a test for sbi_bitmap
authorIvan Orlov <ivan.orlov0322@gmail.com>
Mon, 4 Mar 2024 21:45:50 +0000 (21:45 +0000)
committerAnup Patel <anup@brainfault.org>
Sun, 10 Mar 2024 04:42:39 +0000 (10:12 +0530)
commite5f53fdea30e1a3d2e22e5b7fec34b26f59f310f
tree50abdbc39caf6c18f855579e6da1ce3504cd81ec
parent874fcefdf5883c042b4b1f61f6265e03e16f2e79
lib: tests: Add a test for sbi_bitmap

Add test suite covering all of the functions from lib/sbi/sbi_bitmap.c:
__bitmap_and, __bitmap_or and __bitmap_xor.

Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
lib/sbi/objects.mk
lib/sbi/sbi_bitmap_test.c [new file with mode: 0644]