Skip to content

Commit

Permalink
resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshd30 committed Sep 7, 2024
1 parent d61d5f9 commit 2f90d5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/data_structures/vector/vector_primitive_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; i<iv->size; ++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")
Expand Down

0 comments on commit 2f90d5b

Please sign in to comment.