Skip to content

Commit

Permalink
Update hat-trie tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepb committed Feb 7, 2016
1 parent 9c678c5 commit 8407da5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hat-trie/test/check_ahtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ void test_ahtable_insert()
*u, v);
}
}


fprintf(stderr, "sizeof: %zu\n", ahtable_sizeof(T));

/* delete some keys */
for (j = 0; i < k/100; ++j) {
i = rand() % n;
Expand Down
2 changes: 2 additions & 0 deletions hat-trie/test/check_hattrie.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ void test_hattrie_insert()
}
}

fprintf(stderr, "sizeof: %zu\n", hattrie_sizeof(T));

fprintf(stderr, "deleting %zu keys ... \n", d);
for (j = 0; j < d; ++j) {
str_map_del(M, ds[j], strlen(ds[j]));
Expand Down

0 comments on commit 8407da5

Please sign in to comment.