function subset_distance_hamming_test ( )

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

  n = 10;

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

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

  d = subset_distance_hamming ( n, s1, s2 );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Hamming distance between S1 and S2 is %d\n', d );

  return
end
