function c8_norm_l1_test ( )

%*****************************************************************************80
%
%% c8_norm_l1_test() tests c8_norm_l1().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    22 February 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'c8_norm_l1_test():\n' );
  fprintf ( 1, '  c8_norm_l1() computes the L1 norm of a C8.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       C1=C8_UNIFORM_01          R2=C8_NORM_L1(C1)\n' );
  fprintf ( 1, '     ---------------------     ---------------------\n' );
  fprintf ( 1, '\n' );

  for i = 1 : 10
    c1 = c8_uniform_01 ( );
    r2 = c8_norm_l1 ( c1 );
    fprintf ( 1, '  %12.6f,%12.6f  %12.6f\n', real ( c1 ), imag ( c1 ), r2 );
  end

  return
end
