function r8vec_uniform_ab_test ( )

%*****************************************************************************80
%
%% r8vec_uniform_ab_test() tests r8vec_uniform_ab().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    29 October 2014
%
%  Author:
%
%    John Burkardt
%
  n = 10;
  a = -1.0;
  b = +5.0;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8vec_uniform_ab_test():\n' );
  fprintf ( 1, '  r8vec_uniform_ab() computes a random R8VEC.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  %g <= x <= %g\n', a, b );

  v = r8vec_uniform_ab ( n, a, b );

  r8vec_print ( n, v, '  Random R8VEC:' );

  return
end
