CS2 Standard Demo Page

The following text was written to the standard output stream when the BinaryTreeColorsDemo program was executed from Netbeans.

Test LR...
>>> Creating empty tree.
>>>Adding elements to the tree directionally ... 
>>> Preorder
[Red:---]
[Blue:---]
[Black:---]
[Aqua:---]
[Brown:---]
[Green:---]
[Indigo:---]
[GhostWhite:---]
[Gray:---]
[Purple:---]
[Orange:---]
[Pink:---]
[White:---]
[Tangerine:---]
[Yellow:---]
>>> Inorder
[Aqua:---]
[Black:---]
[Brown:---]
[Blue:---]
[Indigo:---]
[GhostWhite:---]
[Gray:---]
[Green:---]
[Orange:---]
[Pink:---]
[Purple:---]
[Red:---]
[Tangerine:---]
[White:---]
[Yellow:---]
>>> Postorder
[Aqua:---]
[Brown:---]
[Black:---]
[Gray:---]
[GhostWhite:---]
[Indigo:---]
[Pink:---]
[Orange:---]
[Purple:---]
[Green:---]
[Blue:---]
[Tangerine:---]
[Yellow:---]
[White:---]
[Red:---]
>>> Height = 6
Test BST...
>>> Creating an empty tree.
>>> Adding elements to a binary search tree...
>>> Preorder
[Red:---]
[Blue:---]
[Black:---]
[Aqua:---]
[Green:---]
[Brown:---]
[GhostWhite:---]
[Gray:---]
[Indigo:---]
[Purple:---]
[Orange:---]
[Pink:---]
[White:---]
[Tangerine:---]
[Yellow:---]
>>> Inorder
[Aqua:---]
[Black:---]
[Blue:---]
[Brown:---]
[GhostWhite:---]
[Gray:---]
[Green:---]
[Indigo:---]
[Orange:---]
[Pink:---]
[Purple:---]
[Red:---]
[Tangerine:---]
[White:---]
[Yellow:---]
>>> Postorder
[Aqua:---]
[Black:---]
[Gray:---]
[GhostWhite:---]
[Brown:---]
[Pink:---]
[Orange:---]
[Purple:---]
[Indigo:---]
[Green:---]
[Blue:---]
[Tangerine:---]
[Yellow:---]
[White:---]
[Red:---]
>>> Height = 7
Test ND...
>>> Creating an empty tree.
>>> Adding elements to the tree nondeterinistically...
>>> Preorder
[Red:---]
[Blue:---]
[White:---]
[Green:---]
[Indigo:---]
[Aqua:---]
[Pink:---]
[Gray:---]
[Orange:---]
[Black:---]
[Tangerine:---]
[Purple:---]
[GhostWhite:---]
[Yellow:---]
[Brown:---]
>>> Inorder
[Blue:---]
[Indigo:---]
[Green:---]
[Aqua:---]
[Gray:---]
[Pink:---]
[White:---]
[Orange:---]
[Red:---]
[GhostWhite:---]
[Purple:---]
[Tangerine:---]
[Yellow:---]
[Black:---]
[Brown:---]
>>> Postorder
[Indigo:---]
[Gray:---]
[Pink:---]
[Aqua:---]
[Green:---]
[Orange:---]
[White:---]
[Blue:---]
[GhostWhite:---]
[Purple:---]
[Yellow:---]
[Tangerine:---]
[Brown:---]
[Black:---]
[Red:---]
>>> Height = 7
BUILD SUCCESSFUL (total time: 0 seconds)