tab cleanup
This commit is contained in:
parent
cc8e391a28
commit
1ef551ad37
1 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ void tree_free(Tree t) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int main( int argc, char *argv[] ) {
|
int main( int argc, char *argv[] ) {
|
||||||
int data[10] = {5,7,2,8,6,4,3,1,9,0};
|
int data[10] = {5,7,2,8,6,4,3,1,9,0};
|
||||||
Tree t = tree_create();
|
Tree t = tree_create();
|
||||||
for(int i = 0; i < 10; i++) {
|
for(int i = 0; i < 10; i++) {
|
||||||
tree_add(t,data[i]);
|
tree_add(t,data[i]);
|
||||||
|
@ -155,5 +155,5 @@ int main( int argc, char *argv[] ) {
|
||||||
assert(tree_contains(t,data[i]));
|
assert(tree_contains(t,data[i]));
|
||||||
}
|
}
|
||||||
tree_free(t);
|
tree_free(t);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue