function subset_distance_test ( )

%*****************************************************************************80
%
%% SUBSET_DISTANCE_TEST tests SUBSET_DISTANCE.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    27 December 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'SUBSET_DISTANCE_TEST\n' );
  fprintf ( 1, '  SUBSET_DISTANCE returns the distance between two subsets.\n' );

  n = 10;
  seed = 123456789;

  [ s1, seed ] = subset_random ( n, seed );
  i4vec_transpose_print ( n, s1, '  Subset S1:' );

  [ s2, seed ] = subset_random ( n, seed );
  i4vec_transpose_print ( n, s2, '  Subset S2:' );

  d = subset_distance ( n, s1, s2 );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Distance between S1 and S2 is %d\n', d );

  return
end
