function ubvec_random_test ( )

%*****************************************************************************80
%
%% UBVEC_RANDOM_TEST tests UBVEC_RANDOM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    19 November 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'UBVEC_RANDOM_TEST\n' );
  fprintf ( 1, '  UBVEC_RANDOM randomizes an unsigned binary vector.\n' );
  fprintf ( 1, '\n' );

  seed = 123456789;

  for i = 1 : 5
    [ ubvec, seed ] = ubvec_random ( n, seed );
    ubvec_print ( n, ubvec, '' );
  end

  return
end
