public int TestGetRight(List <int> items, IComparer <int> comparator) { IterativeBinarySearchTree <int> tree = new IterativeBinarySearchTree <int>(items, comparator); return(tree.GetRight().Data); }
public string TestGetRight(List <string> items, IComparer <string> comparator) { IterativeBinarySearchTree <string> tree = new IterativeBinarySearchTree <string>(items, comparator); return(tree.GetRight().Data); }