function r8vec_diff_norm_li_test ( )

%*****************************************************************************80
%
%% R8VEC_DIFF_NORM_LI_TEST tests R8VEC_DIFF_NORM_LI.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 June 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_DIFF_NORM_LI_TEST\n' );
  fprintf ( 1, '  R8VEC_DIFF_NORM_LI: L-infinity norm of the difference\n' );
  fprintf ( 1, '  of two R8VEC''s.\n' );
 
  n = 5;
  r8_lo = -10.0;
  r8_hi = +10.0;

  seed = 123456789;

  [ v1, seed ] = r8vec_uniform_ab ( n, r8_lo, r8_hi, seed );
  [ v2, seed ] = r8vec_uniform_ab ( n, r8_lo, r8_hi, seed );

  r8vec_print ( n, v1, '  Vector V1:' );
  r8vec_print ( n, v2, '  Vector V2:' );

  diff = r8vec_diff_norm_li ( n, v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  L-Infinity norm of V1-V2: %g\n', diff );

  return
end
