function laguerre_integral_test ( )

%*****************************************************************************80
%
%% laguerre_integral_test() tests laguerre_integral().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    14 June 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'laguerre_integral_test():\n' );
  fprintf ( 1, '  laguerre_integral() evaluates\n' );
  fprintf ( 1, '  Integral ( 0 < x < oo ) x^n * exp(-x) dx\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '         N         Value\n' );
  fprintf ( 1, '\n' );

  for n = 0 : 10

    value = laguerre_integral ( n );

    fprintf ( 1, '  %8d  %24.16g\n', n, value );

  end

  return
end
