small fix
This commit is contained in:
parent
c8edc1a619
commit
c3def11852
@ -29,7 +29,7 @@ void test_addToTree_multiple_elements_and_size(void)
|
|||||||
{
|
{
|
||||||
TreeNode *root = NULL;
|
TreeNode *root = NULL;
|
||||||
int values[] = {5, 3, 7, 1, 4};
|
int values[] = {5, 3, 7, 1, 4};
|
||||||
int dup = -1;
|
int dup = 0;
|
||||||
|
|
||||||
for (int i = 0; i < 5; i++)
|
for (int i = 0; i < 5; i++)
|
||||||
root = addToTree(root, &values[i], sizeof(int), compare, &dup);
|
root = addToTree(root, &values[i], sizeof(int), compare, &dup);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user