function pruefer_enum_test ( )

%*****************************************************************************80
%
%% PRUEFER_ENUM_TEST tests PRUEFER_ENUM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    05 December 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'PRUEFER_ENUM_TEST\n' );
  fprintf ( 1, '  PRUEFER_ENUM enumerates trees on N nodes, using the Pruefer code\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   N     #\n' );
  fprintf ( 1, '\n' );

  for n = 0 : 10
    pruefer_num = pruefer_enum ( n );
    fprintf ( 1, '  %2d  %6d\n', n, pruefer_num );
  end

  return
end
