function circle_segment_test ( )

%*****************************************************************************80
%
%% circle_segment_test() tests circle_segment().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../circle_segment' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'circle_segment_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  Test circle_segment().\n' );

  figure_num = 0;

  circle_segment_test01 ( );
  circle_segment_test02 ( );
  figure_num = circle_segment_test03 ( figure_num );
  pause ( 5 );
  circle_segment_test04 ( );
  circle_segment_test05 ( );
  figure_num = circle_segment_test06 ( figure_num );
  pause ( 5 );
  circle_segment_test07 ( );
  circle_segment_test08 ( );
  circle_segment_test09 ( );
  circle_segment_test10 ( );
  circle_segment_test11 ( );
  figure_num = circle_segment_test12 ( figure_num );
  pause ( 5 );
  circle_segment_test13 ( );
  circle_segment_test14 ( );
  if ( false )
    circle_segment_test15 ( );
  end
  circle_segment_test16 ( );
  circle_segment_test17 ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'circle_segment_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../circle_segment' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

