public class FinderVerifier {

  public static void main(String[] args) {
    System.out.println("Esta version no es la version definitiva!");
    System.out.println("La versión final se publicara en "+
                       "uch.ing.cursos.cc61g.");
    boolean good= true;
    Node root=
      new Node(
        new Node(
          null,
          "shakira",
          new Node(null, "britney", null)),
        "christina",
        new Node(
          null,
          "nelly",
          new Node(
            null,
            "michelle",
            new Node(null, "shakira", null))));
   for (;;) {
      if (!Finder.parLookup("britney", root, 3)) {
        System.err.println("Sorry: britney belongs to the tree");
        good= false;
      }
      if (!Finder.parLookup("shakira", root, 3)) {
        System.err.println("Sorry: shakira belongs to the tree");
        good= false;
      }
      if (Finder.parLookup("madonna", root, 3)) {
        System.err.println("Sorry: madonna does not belong to the tree");
        good= false;
      }
  
      if (!good) {
        System.out.println("Your parLookup did not pass all tests");
        System.exit(1);
      }
    }
  }

}
