summaryrefslogtreecommitdiffstats
path: root/tests/bit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bit.c')
-rw-r--r--tests/bit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bit.c b/tests/bit.c
index cb339f4..7b20770 100644
--- a/tests/bit.c
+++ b/tests/bit.c
@@ -117,5 +117,8 @@ int main(void) {
verify_eq(bit_floor(0), 0);
verify_eq(bit_ceil(0), 1);
+ bfs_verify(!has_single_bit(0));
+ bfs_verify(!has_single_bit(UINT32_MAX));
+
return EXIT_SUCCESS;
}