Commit 250b12d6 authored by Marek Vavruša's avatar Marek Vavruša

tests: test large arrays

parent 6bfbbe75
......@@ -46,6 +46,12 @@ static void test_array(void **state)
assert_true(ret == 0);
}
/* Overfill. */
for (unsigned i = 0; i < 4096; ++i) {
ret = array_push(arr, i);
assert_true(ret >= 0);
}
array_clear(arr);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment