Example #1
0
 @Test
 public void testIsLeafNode() {
   Node testNode = new Node(5);
   assertTrue(testNode.isLeafNode());
 }
Example #2
0
 @Test
 public void nodeCreation() {
   assertTrue(root.getData() == 10);
 }