function legendre_product_test ( )

%*****************************************************************************80
%
%% legendre_product_test tests legendre_product.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    13 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../legendre_product' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'legendre_product_test\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test legendre_product.\n' );

  p = 5;
  e = 0;
  legendre_linear_product_test ( p, e );

  p = 5;
  e = 1;
  legendre_linear_product_test ( p, e );

  p = 5;
  e = 2;
  legendre_linear_product_test ( p, e );

  p = 5;
  b = 0;
  legendre_exponential_product_test ( p, b );

  p = 5;
  b = 1;
  legendre_exponential_product_test ( p, b );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'legendre_product_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../legendre_product' );

  return
end
