function u_moment_test ( )

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

  return
end
