function inside_test ( )

%*****************************************************************************80
%
%% inside_test() tests inside().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 January 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'inside_test():\n' );
  fprintf ( 1, '  inside() estimates the probability that, choosing three\n' );
  fprintf ( 1, '  points at random on the unit circle, the origin will be\n' );
  fprintf ( 1, '  inside the resulting triangle?\n' );

  p = inside ( );
  exact = 0.25;

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

  return
end

