Max Reitz 269576848e test-hbitmap: Add non-advancing iter_next tests
Add a function that wraps hbitmap_iter_next() and always calls it in
non-advancing mode first, and in advancing mode next.  The result should
always be the same.

By using this function everywhere we called hbitmap_iter_next() before,
we should get good test coverage for non-advancing hbitmap_iter_next().

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180613181823.13618-9-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
2018-06-18 17:04:56 +02:00
..
2018-02-22 15:44:07 -08:00
2017-09-22 10:46:25 +08:00
2018-03-21 15:13:40 +01:00
2018-03-26 14:17:04 -07:00
2016-10-26 08:29:01 -07:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:05 +04:00
2017-10-20 13:32:10 +02:00
2017-03-01 11:51:05 +04:00
2018-06-04 10:15:16 +01:00
2017-10-20 13:32:10 +02:00
2018-02-09 05:05:11 +01:00
2018-03-06 14:01:27 +01:00
2017-01-10 08:49:59 -08:00
2018-06-01 15:13:46 +02:00
2018-02-08 09:22:03 +08:00
2017-09-05 22:34:40 +02:00
2017-12-20 22:01:24 +08:00