]> Savannah Git Hosting - gnulib.git/commit
bitset: tests: exercise the stats too
authorAkim Demaille <akim.demaille@gmail.com>
Thu, 19 Nov 2020 05:42:58 +0000 (06:42 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Thu, 19 Nov 2020 06:01:23 +0000 (07:01 +0100)
commit9351b4033bbf0bb1df3d3412376fefe785168c27
treee55585d591711795ff5bcd0665d0eefd9aeda5cb
parent4a959de38cb2daf81cfabccbcbcfeb7ffd28b9c6
bitset: tests: exercise the stats too

* tests/test-bitset.c: Display the stats at the end of the test.
* lib/bitset/stats.c (bitset_log_histogram_print): When diplaying the
last bin, display "256-..." rather that "256-511", since the last bin
does count item greater than or equal to 256.
ChangeLog
lib/bitset/stats.c
tests/test-bitset.c