function r8_uniform_01_test ( )

%*****************************************************************************80
%
%% r8_uniform_01_test() tests r8_uniform_01().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    29 June 2006
%
%  Author:
%
%    John Burkardt
%
  key = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8_uniform_01_test():\n' );
  fprintf ( 1, '  r8_uniform_01() computes pseudorandom double precision values\n' );
  fprintf ( 1, '  in the unit interval.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  The initial key is %d\n', key );
  fprintf ( 1, '\n' );

  for i = 1 : 10
    [ r8, key ] = r8_uniform_01 ( key );
    fprintf ( 1, '  %6d  %f\n', i, r8 );
  end

  return
end
