function r8poly_legendre_test ( )

%*****************************************************************************80
%
%% r8poly_legendre_test() tests r8poly_legendre().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    23 October 2019
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8poly_legendre_test\n' );
  fprintf ( 1, '  r8poly_legendre_test computes a Legendre polynomial.\n' );
 
  for d = 0 : 10
    c = r8poly_legendre ( d );
    label = sprintf ( 'P%d(x):', d );
    r8poly_print ( c, label );
  end
 
  return
end
