From 2f90d5b8f25beed854c7873142ba8a5156386223 Mon Sep 17 00:00:00 2001 From: Prathamesh Deshpande Date: Sun, 8 Sep 2024 00:55:37 +0530 Subject: [PATCH] resolve merge conflict --- tests/data_structures/vector/vector_primitive_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/data_structures/vector/vector_primitive_test.c b/tests/data_structures/vector/vector_primitive_test.c index ac41423..1e17e44 100644 --- a/tests/data_structures/vector/vector_primitive_test.c +++ b/tests/data_structures/vector/vector_primitive_test.c @@ -86,10 +86,9 @@ int main(void){ test(false,"at_vec failing") } } - + //Test that access at out of bounds is invalid test(!at_intVec(iv,size,&got_element),"Out of bounds is valid.") - for(uint64_t i = 0; isize; ++i){ test(set_at_intVec(iv,i,i),"set_at failing") test(at_intVec(iv,i,&got_element) && got_element == iv->data[i], "at_failing or wrong value")