function ksubset_enum_test ( )

%*****************************************************************************80
%
%% ksubset_enum_test() tests ksubset_enum().
%
%  Licensing:
%
%    This code is distributed under the MIT 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
