function cvt_1d_sampling_test ( )

%*****************************************************************************80
%
%% CVT_1D_SAMPLING_TEST tests CVT_1D_SAMPLING.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    24 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../cvt_1d_sampling' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CVT_1D_SAMPLING_TEST\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test CVT_1D_SAMPLING.\n' );

  n = 40;
  it_num = 400;
  s_num = 1000;
  cvt_1d_sampling ( n, it_num, s_num );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CVT_1D_SAMPLING_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../cvt_1d_sampling' )

  return
end
