Formatting

This commit is contained in:
Imbus 2024-03-27 10:04:06 +01:00
parent 6db80a4cb9
commit 97571769a3

View file

@ -21,8 +21,10 @@ int main(void) {
tree_clear(&tree);
// Check if the tree is really empty
if (tree.root == NULL) printf("Tree is empty\n");
else printf("Tree is not empty: %d\n", tree.root->data);
if (tree.root == NULL)
printf("Tree is empty\n");
else
printf("Tree is not empty: %d\n", tree.root->data);
// Check size and print inorder
printf("Tree size: %d\n", tree_size(tree.root));