function subset_xor_test ( )

%*****************************************************************************80
%
%% SUBSET_XOR_TEST tests SUBSET_XOR.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    27 December 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'SUBSET_XOR_TEST\n' );
  fprintf ( 1, '  SUBSET_XOR returns the exclusive OR of 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:' );

  s3 = subset_xor ( n, s1, s2 );
  i4vec_transpose_print ( n, s3, '  S3 = S1 xor S2:' );

  return
end
