function histogram_discrete_test ( )

%*****************************************************************************80
%
%% HISTOGRAM_DISCRETE_TEST tests HISTOGRAM_DISCRETE.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    30 January 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../histogram_discrete' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'HISTOGRAM_DISCRETE_TEST:\n' );
  fprintf ( 1, '  MATLAB version.\n' );
  fprintf ( 1, '  Test HISTOGRAM_DISCRETE.\n' );

  setup_discrete_test ( );
  pdf_discrete_test ( );
  cdf_discrete_test ( );

  s_num = 50;
  bigger_test ( s_num );

  s_num = 200;
  gaussian_test ( s_num );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'HISTOGRAM_DISCRETE_TEST:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../histogram_discrete' );

  return
end

