function npart_enum_test ( )

%*****************************************************************************80
%
%% npart_enum_test() tests npart_enum().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 December 2015
%
%  Author:
%
%    John Burkardt
% 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'npart_enum_test():\n' );
  fprintf ( 1, '  npart_enum() enumerates partitions of N into PART_NUM parts.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   PART_NUM:  1       2       3       4       5       6\n' );
  fprintf ( 1, '   N\n' );
  for n = 0 : 10
    fprintf ( 1, '  %2d:  ' );
    for part_num = 1 : min ( n, 6 )
      npart_num = npart_enum ( n, part_num );
      fprintf ( 1, '  %6d', npart_num );
    end
    fprintf ( 1, '\n' );
  end

  return
end
