function r8vec_norm_test ( )

%*****************************************************************************80
%
%% R8VEC_NORM_TEST tests R8VEC_NORM.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 August 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_NORM_TEST\n' );
  fprintf ( 1, '  R8VEC_NORM computes the L2 norm of an R8VEC.\n' );
 
  n = 10;
  b = -n;
  c = n;
  seed = 123456789;

  [ a, seed ] = r8vec_uniform_ab ( n, b, c, seed );
 
  r8vec_print ( n, a, '  Input vector:' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  L2 norm = %f\n', r8vec_norm ( n, a ) );

  return
end
