function pruefer_enum_test ( )

%*****************************************************************************80
%
%% pruefer_enum_test() tests pruefer_enum().
%
%  Licensing:
%
%    This code is distributed under the MIT 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
