function w_moment_test ( )

%*****************************************************************************80
%
%% W_MOMENT_TEST tests W_MOMENT.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    18 July 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'W_MOMENT_TEST:\n' );
  fprintf ( 1, '  W_MOMENT returns the value of\n' );
  fprintf ( 1, '  integral ( -1 <=x <= +1 ) x^e * sqrt ( 1 - x ) / sqrt ( 1 + x ) dx\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   E       Integral\n' );
  fprintf ( 1, '\n' );
  for e = 0 : 10
    value = w_moment ( e );
    fprintf ( 1, '  %2d  %14.6g\n', e, value );
  end

  return
end
