function setpart_enum_test ( )

%*****************************************************************************80
%
%% setpart_enum_test() tests setpart_enum().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 January 2011
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, ' \n' );
  fprintf ( 1, 'setpart_enum_test():\n' );
  fprintf ( 1, '  setpart_enum() enumerates set partitions.\n' );
  fprintf ( 1, ' \n' );
%
%  Enumerate.
%
  for n = 1 : 6
    npart = setpart_enum ( n );
    fprintf ( 1, '  %4d  %4d\n', n, npart );
  end

  return
end
