@Test public void shouldReturnTrueIfTheTreeContainsJustOneNodeRecursive() { BinaryNode<Integer> root = new BinaryNode<Integer>(0); assertTrue(isBST.checkRecursive(root)); }
public boolean checkRecursive(BinaryNode<Integer> root) { validateInput(root); return checkRecursiveInner(root); }
IsBST { public boolean checkRecursive(BinaryNode<Integer> root) { validateInput(root); return checkRecursiveInner(root); } }
IsBST { public boolean checkRecursive(BinaryNode<Integer> root) { validateInput(root); return checkRecursiveInner(root); }  }
IsBST { public boolean checkRecursive(BinaryNode<Integer> root) { validateInput(root); return checkRecursiveInner(root); }  boolean checkRecursive(BinaryNode<Integer> root); boolean checkIterative(BinaryNode<Integer> root); }
IsBST { public boolean checkRecursive(BinaryNode<Integer> root) { validateInput(root); return checkRecursiveInner(root); }  boolean checkRecursive(BinaryNode<Integer> root); boolean checkIterative(BinaryNode<Integer> root);  }