function ellipse_flattening_test ( )

%*****************************************************************************80
%
%% ellipse_flattening_test() tests ellipse_flattening().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 October 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ellipse_flattening_test():\n' );
  fprintf ( 1, '  ellipse_flattening() computes the flattening of an ellipse.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      A      B      Flat\n' );
  fprintf ( 1, '\n' );
  a = 1.0;
  n = 10;
  for i = 0 : n
    b = i / n;
    e = ellipse_flattening ( a, b );
    fprintf ( 1, '  %5.1f  %5.1f  %10.6f\n', a, b, e );
  end

  return
end
