function polynomials_test ( )

%*****************************************************************************80
%
%% polynomials_test tests polynomials.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    27 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../polynomials' );

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

  range_by_sampling_test ( );
  range_by_fmincon_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polynomials_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../polynomials' );

  return
end
