function r8vec_norm_li_test ( )

%*****************************************************************************80
%
%% r8vec_norm_li_test() tests r8vec_norm_li().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2009
%
%  Author:
%
%    John Burkardt
%
  n = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_NORM_LI_TEST\n' );
  fprintf ( 1, '  For an R8VEC:\n' );
  fprintf ( 1, '  R8VEC_NORM_LI:   L-infinity norm.\n' );
 
  b = -n;
  c = n;
  a = b + ( c - b ) * rand ( n, 1 );
 
  r8vec_print ( n, a, '  Input vector:' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  L-Infinity norm: %f\n', r8vec_norm_li ( n, a ) );

  return
end
