function i4vec_dot_product_test ( )

%*****************************************************************************80
%
%% I4VEC_DOT_PRODUCT_TEST tests I4VEC_DOT_PRODUCT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 December 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4VEC_DOT_PRODUCT_TEST\n' );
  fprintf ( 1, '  I4VEC_DOT_PRODUCT computes the dot product of two I4VECs.\n' );

  n = 5;
  lo = 0;
  hi = 10;
  seed = 123456789;

  [ a, seed ] = i4vec_uniform_ab ( n, lo, hi, seed );
  i4vec_print ( n, a, '  The vector A:' );

  [ b, seed ] = i4vec_uniform_ab ( n, lo, hi, seed );
  i4vec_print ( n, b, '  The vector B:' );

  d = i4vec_dot_product ( n, a, b );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  The dot product is %d\n', d );

  return
end
