function c8_uniform_01_test ( )

%*****************************************************************************80
%
%% c8_uniform_01_test() tests c8_uniform_01().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 February 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'c8_uniform_01_test():\n' );
  fprintf ( 1, '  c8_uniform_01() returns a uniformly random "unit" C8.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       C1=C8_UNIFORM_01\n' );
  fprintf ( 1, '     ---------------------\n' );
  fprintf ( 1, '\n' );

  for test = 1 : 10
 
    c1 = c8_uniform_01 ( );

    fprintf ( 1, '  (%12f  %12f)\n', real ( c1 ), imag ( c1 ));
 
  end

  return
end
