(Latest Revision: Tue May 7 01:17:31 PDT 2002 ) sample.out

sample.out


#######################################################
emptyTest
The tree is empty.
#######################################################
insert every
"every" has been placed in the tree.
#######################################################
insert boy
"boy" has been placed in the tree.
#######################################################
count
The tree contains 2 elements.
#######################################################
height
The height of the tree is: 2.
#######################################################
insert good
"good" has been placed in the tree.
#######################################################
insert eats
"eats" has been placed in the tree.
#######################################################
count
The tree contains 4 elements.
#######################################################
height
The height of the tree is: 3.
#######################################################
insert breakfast
"breakfast" has been placed in the tree.
#######################################################
count
The tree contains 5 elements.
#######################################################
height
The height of the tree is: 4.
#######################################################
treePrint
The tree looks like this:

     good
every
          eats
               breakfast
     boy

#######################################################
levelPrint
The levels of the tree look like this:

every  
boy  good  
eats  
breakfast  

#######################################################
emptyTest
The tree is not empty.
#######################################################
delete every
"every" has been removed from the tree.
#######################################################
delete fine
"fine" does not exist in the tree!
#######################################################
delete boy
"boy" has been removed from the tree.
#######################################################
treePrint
The tree looks like this:

good
     eats
          breakfast

#######################################################
levelPrint
The levels of the tree look like this:

good  
eats  
breakfast  

#######################################################
stop
All done.  Good bye.
#######################################################