Skip to content

Commit

Permalink
Added two more checks
Browse files Browse the repository at this point in the history
  • Loading branch information
armon committed Apr 5, 2012
1 parent 684ab99 commit c6c3b32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/bloomd/test_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,9 @@ START_TEST(test_filter_restore_order)
res = bloomf_add(filter, (char*)&buf);
}

fail_unless(bloomf_byte_size(filter) == byte_size);
fail_unless(bloomf_capacity(filter) == cap);

res = destroy_bloom_filter(filter);
fail_unless(res == 0);

Expand Down

0 comments on commit c6c3b32

Please sign in to comment.