aboutsummaryrefslogtreecommitdiff
path: root/tests/test_vec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_vec.c')
-rw-r--r--tests/test_vec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_vec.c b/tests/test_vec.c
index 6abdd78..4aafc72 100644
--- a/tests/test_vec.c
+++ b/tests/test_vec.c
@@ -10,6 +10,10 @@ int main() {
IntVector_init(&vec);
for (int i = 0; i < 1000; i++) {
+ if (i == 10) {
+ IntVector_show(&vec, stdout);
+ puts("");
+ }
assert(vec.size == i);
IntVector_push_back(&vec, i);
assert(*(IntVector_end(&vec) - 1) == i);