tab cleanup

This commit is contained in:
madmaurice 2017-10-12 07:12:54 +02:00
parent cc8e391a28
commit 1ef551ad37

View file

@ -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;
} }