function visualize_bound_circle_test ( )

%*****************************************************************************80
%
%% visualize_bound_circle_test() tests visualize_bound_circle()
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 December 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'visualize_bound_circle_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  visualize_bound_circle() displays the exact minimal\n' );
  fprintf ( 1, '  bounding circle of a set of points.\n' );
%
%  Choose points already on a circle.
%
  X = randn ( 200, 2 )

  [ r, c, Xb ] = exact_min_bound_circle ( X );

  visualize_bound_circle ( X, r, c );
  filename = 'visualize_bound_circle.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'visualize_bound_circle():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

