function ksubset_enum_test ( )

%*****************************************************************************80
%
%% KSUBSET_ENUM_TEST tests KSUBSET_ENUM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    23 December 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'KSUBSET_ENUM_TEST\n' );
  fprintf ( 1, '  KSUBSET_ENUM enumerates K subsets of an N set:\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      K:      0       1       2       3       4       5\n' );
  fprintf ( 1, '   N\n' );
  for n = 0 : 10
    fprintf ( 1, '  %2d:  ', n );
    for k = 0 : min ( n, 5 )
      fprintf ( 1, '  %6d', ksubset_enum ( k, n ) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
