Color Binary Tree Tester Demo

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

ColorBinaryTreeTester.java

run:
Test LR ...
>> Creating empty tree.
>>> Adding elements to the tree directionally ...
>>> PREORDER
[red:---]
[blue:---]
[black:---]
[aqua:---]
[green:---]
[ghostwhite:---]
[brown:---]
[gainsboro:---]
[gray:---]
[purple:---]
[orange:---]
[indigo:---]
[pink:---]
[white:---]
[tangerine:---]
[yellow:---]
>>> INORDER
[aqua:---]
[black:---]
[blue:---]
[brown:---]
[gainsboro:---]
[ghostwhite:---]
[gray:---]
[green:---]
[indigo:---]
[orange:---]
[pink:---]
[purple:---]
[red:---]
[tangerine:---]
[white:---]
[yellow:---]
>>> POSTORDER
[aqua:---]
[black:---]
[gainsboro:---]
[brown:---]
[gray:---]
[ghostwhite:---]
[indigo:---]
[pink:---]
[orange:---]
[purple:---]
[green:---]
[blue:---]
[tangerine:---]
[yellow:---]
[white:---]
[red:---]
>>> HEIGHT = 6
Test BST ...
>> Creating empty tree.
>>> Adding elements to the binary search tree ...
>>> PREORDER
[red:---]
[blue:---]
[black:---]
[aqua:---]
[green:---]
[ghostwhite:---]
[brown:---]
[gainsboro:---]
[gray:---]
[purple:---]
[orange:---]
[indigo:---]
[pink:---]
[white:---]
[tangerine:---]
[yellow:---]
>>> INORDER
[aqua:---]
[black:---]
[blue:---]
[brown:---]
[gainsboro:---]
[ghostwhite:---]
[gray:---]
[green:---]
[indigo:---]
[orange:---]
[pink:---]
[purple:---]
[red:---]
[tangerine:---]
[white:---]
[yellow:---]
>>> POSTORDER
[aqua:---]
[black:---]
[gainsboro:---]
[brown:---]
[gray:---]
[ghostwhite:---]
[indigo:---]
[pink:---]
[orange:---]
[purple:---]
[green:---]
[blue:---]
[tangerine:---]
[yellow:---]
[white:---]
[red:---]
>>> HEIGHT = 6
Test ND ...
>> Creating empty tree.
>>> Adding elements to the tree nondeterministically ...
>>> PREORDER
[red:---]
[blue:---]
[black:---]
[gray:---]
[gainsboro:---]
[green:---]
[indigo:---]
[white:---]
[yellow:---]
[ghostwhite:---]
[orange:---]
[aqua:---]
[purple:---]
[tangerine:---]
[brown:---]
[pink:---]
>>> INORDER
[gray:---]
[black:---]
[gainsboro:---]
[blue:---]
[green:---]
[indigo:---]
[red:---]
[ghostwhite:---]
[yellow:---]
[aqua:---]
[orange:---]
[white:---]
[brown:---]
[tangerine:---]
[pink:---]
[purple:---]
>>> POSTORDER
[gray:---]
[gainsboro:---]
[black:---]
[indigo:---]
[green:---]
[blue:---]
[ghostwhite:---]
[aqua:---]
[orange:---]
[yellow:---]
[brown:---]
[pink:---]
[tangerine:---]
[purple:---]
[white:---]
[red:---]
>>> HEIGHT = 5
Test ND ...
>> Creating empty tree.
>>> Adding elements to the tree nondeterministically ...
>>> PREORDER
[red:---]
[green:---]
[black:---]
[brown:---]
[orange:---]
[tangerine:---]
[ghostwhite:---]
[gainsboro:---]
[gray:---]
[white:---]
[purple:---]
[yellow:---]
[indigo:---]
[aqua:---]
[blue:---]
[pink:---]
>>> INORDER
[brown:---]
[black:---]
[ghostwhite:---]
[gainsboro:---]
[tangerine:---]
[orange:---]
[gray:---]
[green:---]
[white:---]
[yellow:---]
[purple:---]
[indigo:---]
[aqua:---]
[red:---]
[pink:---]
[blue:---]
>>> POSTORDER
[brown:---]
[gainsboro:---]
[ghostwhite:---]
[tangerine:---]
[gray:---]
[orange:---]
[black:---]
[yellow:---]
[aqua:---]
[indigo:---]
[purple:---]
[white:---]
[green:---]
[pink:---]
[blue:---]
[red:---]
>>> HEIGHT = 7
BUILD SUCCESSFUL (total time: 0 seconds)