@TestClass(value="org.openscience.cdk.smsd.helper.BinaryTreeTest") public class BinaryTree extends Object
Constructor and Description |
---|
BinaryTree(int value)
Creates a new instance of BinaryTree.
|
Modifier and Type | Method and Description |
---|---|
BinaryTree |
getEqual()
Returns equal node
|
BinaryTree |
getNotEqual()
Returns not equal node
|
int |
getValue()
Return value of the node
|
void |
setEqual(BinaryTree equal)
Set equal node
|
void |
setNotEqual(BinaryTree notEqual)
Set not equal node
|
@TestMethod(value="testGetEnergies") public BinaryTree(int value)
value
- node value@TestMethod(value="testGetValue") public int getValue()
@TestMethod(value="testGetEqual") public BinaryTree getEqual()
@TestMethod(value="testSetEqual") public void setEqual(BinaryTree equal)
equal
- the equal to set@TestMethod(value="testGetNotEqual") public BinaryTree getNotEqual()
@TestMethod(value="testSetNotEqual") public void setNotEqual(BinaryTree notEqual)
notEqual
- the notEqual to set