function sobol_test01 ( )

%*****************************************************************************80
%
%% sobol_test01() tests bitxor().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 February 2005
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'SOBOL_TEST01\n' );
  fprintf ( 1, '  BITXOR is a MATLAB intrinsic function which returns\n' );
  fprintf ( 1, '  the bitwise exclusive OR of two integers.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '     I     J     BITXOR(I,J)\n' );
  fprintf ( 1, '\n' );

  key = 123456789;

  for test = 1 : 10

    i = randi ( [ 0, 100 ], 1 );
    j = randi ( [ 0, 100 ], 1 );
    k = bitxor ( i, j );

    fprintf ( 1, '  %6d  %6d  %6d\n', i, j, k );

  end 

  return
end
