function dist_enum_test ( )

%*****************************************************************************80
%
%% dist_enum_test() tests dist_enum().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 November 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'dist_enum_test():\n' );
  fprintf ( 1, '  dist_enum() enumerates distributions of N indistinguishable\n' );
  fprintf ( 1, '  objects among M distinguishable slots:\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      N:      0       1       2       3       4       5\n' );
  fprintf ( 1, '   M\n' );
  for m = 0 : 10
    fprintf ( 1, '  %2d:  ', m );
    for n = 0 : 5
      fprintf ( 1, '  %6d', dist_enum ( m, n ) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
