function perm_enum_test ( )

%*****************************************************************************80
%
%% PERM_ENUM_TEST tests PERM_ENUM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    27 November 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'PERM_ENUM_TEST\n' );
  fprintf ( 1, '  PERM_ENUM enumerates permutations of N items.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   N      #\n' );
  fprintf ( 1, '  \n' );

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

  return
end
