function usa_cvt_geo_test ( )

%*****************************************************************************80
%
%% usa_cvt_geo_test() tests usa_cvt_geo().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 January 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../usa_cvt_geo' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'usa_cvt_geo_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  usa_cvt_geo() computes centroidal Voronoi tessellations\n' );
  fprintf ( 1, '  of the USA, based on geometric area.\n' );

  usa_centroid_geo_test ( );

  if ( false )
    usa_cvt_geo_estimate_test ( );
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, '  Skipping usa_cvt_geo_estimate_test()\n' );
    fprintf ( 1, '  Requires access to MATLAB mapping toolbox.\n' );
  end

  usa_point_display_test ( );

  usa_sample_geo_test ( );

  usa_shape_read_test ( );
  
  if ( false )
    usa_voronoi_display_test ( );
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, '  Skipping usa_voronoi_display_test()\n' );
    fprintf ( 1, '  Requires access to MATLAB mapping toolbox.\n' );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'usa_cvt_geo_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../usa_cvt_geo' );

  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

