function line_fekete_rule_test ( )

%*****************************************************************************80
%
%% line_fekete_rule_test() tests line_fekete_rule().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 June 2020
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../line_fekete_rule' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'line_fekete_rule_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test line_fekete_rule().\n' );

  for m = [ 5, 11, 21, 41 ]
    line_fekete_bos_levenberg_test ( m );
    line_fekete_chebyshev_test ( m );
    line_fekete_legendre_test ( m );
    line_fekete_monomial_test ( m );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'line_fekete_rule_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../line_fekete_rule' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

