function tree_unrank_test ( )

%*****************************************************************************80
%
%% TREE_UNRANK_TEST tests TREE_UNRANK.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    22 December 2015
%
%  Author:
%
%    John Burkardt
%
  n = 4;

  fprintf ( 1, ' \n' );
  fprintf ( 1, 'TREE_UNRANK_TEST\n' );
  fprintf ( 1, '  TREE_UNRANK unranks trees.\n' );

  n = 4;

  rank = 8;

  t = tree_unrank ( rank, n );

  i4mat_print ( 2, n - 1, t, '  The element of rank 8:' );

  return
end
