function usa_sample_geo_test ( )

%*****************************************************************************80
%
%% usa_sample_geo_test() tests usa_sample_geo().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 December 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'usa_sample_geo_test():\n' );
  fprintf ( 1, '  usa_sample_geo() returns a given number of random\n' );
  fprintf ( 1, '  sample points within the boundaries of the United States,\n' );
  fprintf ( 1, '  expressed as longitudes and latitudes.\n' );

  sample_num = 100;

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Requesting %d sample points:\n', sample_num );

  [ lon, lat ] = usa_sample_geo ( sample_num );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  usa_point_display() displays the sample points.\n' );

  filename = 'usa_sample_geo_test.png';
  plot_title = '100 Sample Points in the USA';
  usa_point_display ( lon, lat, filename, plot_title );

  return
end
