mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
One more litte test for Tommy
Just to increase the code coverage.
This commit is contained in:
parent
3df432ed80
commit
5f716773ab
1 changed files with 3 additions and 0 deletions
|
|
@ -359,6 +359,9 @@ static void test_tommy(void)
|
|||
*(unsigned*)tommy_arrayblkof_ref(&arrayblkof, i) = i;
|
||||
}
|
||||
|
||||
tommy_array_grow(&array, TOMMY_SIZE);
|
||||
tommy_arrayblkof_grow(&arrayblkof, TOMMY_SIZE);
|
||||
|
||||
if (tommy_array_memory_usage(&array) < TOMMY_SIZE * sizeof(void*)) {
|
||||
/* LCOV_EXCL_START */
|
||||
goto bail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue