Extend the coverage test

This commit is contained in:
Andrea Mazzoleni 2016-11-06 18:27:44 +01:00
parent 4d5d1d9947
commit cb84c61d07
9 changed files with 56 additions and 10 deletions

View file

@ -406,6 +406,14 @@ static void test_tommy(void)
/* LCOV_EXCL_STOP */
}
tommy_list_insert_tail(&list, &node[0], &node[0]);
if (tommy_list_tail(&list) != tommy_list_head(&list)) {
/* LCOV_EXCL_START */
goto bail;
/* LCOV_EXCL_STOP */
}
tommy_hashdyn_init(&hashdyn);
for (i = 0; i < TOMMY_SIZE; ++i)