function tree_unrank_test ( )

%*****************************************************************************80
%
%% tree_unrank_test() tests tree_unrank().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 December 2015
%
%  Author:
%
%    John Burkardt
%
  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
