function cvt_square_pdf_discrete_test ( )

%*****************************************************************************80
%
%% CVT_SQUARE_PDF_DISCRETE_TEST tests the CVT_SQUARE_PDF_DISCRETE library.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    23 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../cvt_square_pdf_discrete' )

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

  n = 100;
  sample_num = 10000;
  it_num = 65;
  delaunay_display = true;

  [ p, t ] = cvt_square_pdf_discrete ( n, sample_num, it_num, delaunay_display );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CVT_SQUARE_PDF_DISCRETE\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../cvt_square_pdf_discrete' )

  return
end
