function obtuse1_test ( )

%*****************************************************************************80
%
%% obtuse1_test() tests obtuse1().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 January 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'obtuse1_test():\n' );
  fprintf ( 1, '  obtuse1() estimates the probability that an obtuse triangle\n' );
  fprintf ( 1, '  will be formed, assuming that one side has length 1, and\n' );
  fprintf ( 1, '  the other two side lengths are chosen uniformly at random\n' );
  fprintf ( 1, '  between 0 and 1.\n' );

  p = obtuse1 ( );
  exact = 0.5 * pi - 1.0;

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Estimate = %g, exact is %g\n', p, exact );

  return
end

