function chebyshev_polynomial_test ( )

%*****************************************************************************80
%
%% chebyshev_polynomial_test() tests chebyshev_polynomial().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 November 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../chebyshev_polynomial' );

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

  chebyshev_polynomial_test01 ( );
  t_mass_matrix_test ( );
  t_moment_test ( );
  t_polynomial_test ( );
  t_polynomial_ab_test ( );
  t_polynomial_ab_value_test ( );
  t_polynomial_coefficient_table_test ( );
  t_polynomial_coefficients_test ( );
  t_polynomial_plot ( [0,1,2,3,4,5], 't_polynomial_plot.png' );
  pause ( 5 )
  t_polynomial_value_test ( );
  t_polynomial_zeros_test ( );
  t_quadrature_rule_test ( );
  chebyshev_polynomial_test07 ( );
  chebyshev_polynomial_test08 ( );
  chebyshev_polynomial_test09 ( );
  chebyshev_polynomial_test10 ( );
  tt_product_test ( );
  tt_product_integral_test ( );
  ttt_product_integral_test ( );
  tu_product_test ( );

  u_mass_matrix_test ( );
  u_moment_test ( );
  u_polynomial_test ( );
  u_polynomial_ab_test ( );
  u_polynomial_ab_value_test ( );
  u_polynomial_coefficients_test ( );
  u_polynomial_plot ( [0,1,2,3,4,5], 'u_polynomial_plot.png' );
  pause ( 5 )
  u_polynomial_value_test ( );
  u_polynomial_zeros_test ( );
  u_quadrature_rule_test ( );
  uu_product_test ( );
  uu_product_integral_test ( );

  v_mass_matrix_test ( );
  v_moment_test ( );
  v_polynomial_test ( );
  v_polynomial_ab_test ( );
  v_polynomial_ab_value_test ( );
  v_polynomial_coefficients_test ( );
  v_polynomial_plot ( [0,1,2,3,4,5], 'v_polynomial_plot.png' );
  pause ( 5 )
  v_polynomial_value_test ( );
  v_polynomial_zeros_test ( );
  v_quadrature_rule_test ( );
  vv_product_integral_test ( );

  w_mass_matrix_test ( );
  w_moment_test ( );
  w_polynomial_test ( );
  w_polynomial_ab_test ( );
  w_polynomial_ab_value_test ( );
  w_polynomial_coefficients_test ( );
  w_polynomial_plot ( [0,1,2,3,4,5], 'w_polynomial_plot.png' );
  pause ( 5 )
  w_polynomial_value_test ( );
  w_polynomial_zeros_test ( );
  w_quadrature_rule_test ( );
  ww_product_integral_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'chebyshev_polynomial_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../chebyshev_polynomial' );

  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

