summaryrefslogtreecommitdiff
path: root/test/bloom.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-07-12 17:28:03 +0100
committerVincent Sanders <vince@kyllikki.org>2015-07-12 17:28:03 +0100
commit82beca0432545857578537a206e0a6ccca7de252 (patch)
treed7ca0935814f91973db29269d8704a6e51d44a2e /test/bloom.c
parent3862549ed9daf503b854b3851a0d105c611abb29 (diff)
downloadnetsurf-82beca0432545857578537a206e0a6ccca7de252.tar.gz
netsurf-82beca0432545857578537a206e0a6ccca7de252.tar.bz2
Complete hash table tests and clean up ineterface.
Diffstat (limited to 'test/bloom.c')
-rw-r--r--test/bloom.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/bloom.c b/test/bloom.c
index 8d8c21c24..71a0b013a 100644
--- a/test/bloom.c
+++ b/test/bloom.c
@@ -73,6 +73,13 @@ static void dict_bloom_teardown(void)
/* Tests */
+/**
+ * Test blooom filter creation
+ *
+ * Create a bloom filter, add a single entry and test for presece and
+ * absence of that entry (single entry cannot have false positives).
+ *
+ */
START_TEST(bloom_create_test)
{
struct bloom_filter *b;