Package ubic.basecode.dataStructure.tree
Class BinaryTreeTest
- java.lang.Object
-
- ubic.basecode.dataStructure.tree.BinaryTreeTest
-
public class BinaryTreeTest extends Object
- Author:
- Paul
-
-
Constructor Summary
Constructors Constructor Description BinaryTreeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testGetLeft()
Test method forubic.basecode.dataStructure.tree.BinaryTree#getLeft()
.void
testGetRight()
Test method forubic.basecode.dataStructure.tree.BinaryTree#getRight()
.void
testGetRoot()
Test method forBinaryTree.getRoot()
.void
testInsertLeft()
void
testInsertRight()
void
testIsEmpty()
Test method forBinaryTree.isEmpty()
.void
testIsLeaf()
-
-
-
Method Detail
-
testGetLeft
public void testGetLeft()
Test method forubic.basecode.dataStructure.tree.BinaryTree#getLeft()
.
-
testGetRight
public void testGetRight()
Test method forubic.basecode.dataStructure.tree.BinaryTree#getRight()
.
-
testGetRoot
public void testGetRoot()
Test method forBinaryTree.getRoot()
.
-
testInsertLeft
public void testInsertLeft()
-
testInsertRight
public void testInsertRight()
-
testIsEmpty
public void testIsEmpty()
Test method forBinaryTree.isEmpty()
.
-
testIsLeaf
public void testIsLeaf()
-
-