function subset_random_test ( )

%*****************************************************************************80
%
%% SUBSET_RANDOM_TEST tests SUBSET_RANDOM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    24 December 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'SUBSET_RANDOM_TEST\n' );
  fprintf ( 1, '  SUBSET_RANDOM returns a random subset.\n' );

  n = 5;
  seed = 123456789;

  for i = 1 : 10
    [ s, seed ] = subset_random ( n, seed );
    i4vec_transpose_print ( n, s, '  Subset:' );
  end

  return
end
