Add statistics about how much overwrite has been done by the buffer.

Unlikley the test about overwrite.
This commit is contained in:
Patrick Pelissier committed 2017-07-19 22:46:53 +02:00
1 parent 8a0755b863
commit 38c15cebe2
2 files changed
+16 -5

No files matched your search

+2
View File
@@ -102,6 +102,8 @@ static void test_global(void)
assert (!buffer_uint_full_p(g_buff));
assert (buffer_uint_size(g_buff) == 0);
assert (buffer_uint_overwrite(g_buff) == 0);
buffer_uint_clear(g_buff);
}