function subset_random_test ( )

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

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

  return
end
