function compnz_enum_test ( )

%*****************************************************************************80
%
%% COMPNZ_ENUM_TEST tests COMPNZ_ENUM;
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    25 May 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'COMPNZ_ENUM_TEST\n' );
  fprintf ( 1, '  COMPNZ_ENUM counts compositions with nonzero parts;\n' );
  fprintf ( 1, '\n' );
  for n = 0 : 10
    for k = 1 : 10
      num = compnz_enum ( n, k );
      fprintf ( 1, '  %6d', num );
    end
    fprintf ( 1, '\n' );
  end

  return
end
