function fastgl_test ( )

%*****************************************************************************80
%
%% FASTGL_TEST tests FASTGL.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    10 January 2019
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Ignace Bogaert,
%    Iteration-free computation of Gauss-Legendre quadrature nodes and weights,
%    SIAM Journal on Scientific Computing,
%    Volume 36, Number 3, 2014, pages A1008-1026.
%
  addpath ( '../fastgl' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'FASTGL_TEST:\n' );
  fprintf ( 1, '  MATLAB version.\n' );
  fprintf ( 1, '  Test FASTGL.\n' );

  besseljzero_test ( );
  besselj1squared_test ( );
  glpair_test ( );
  glpairs_test ( );
  glpairtabulated_test ( );
  legendre_theta_test ( );
  legendre_weight_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'FASTGL_TEST:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../fastgl' );

  return
end
