function r8poly_test ( )

%*****************************************************************************80
%
%% r8poly_test tests r8poly.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    02 March 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../r8poly' );

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

  r8_sign_test ( );

  r82poly2_print_test ( );
  r82poly2_type_test ( );

  r8mat_inverse_3d_test ( );
  r8mat_print_test ( );
  r8mat_print_some_test ( );

  r8poly_degree_test ( );
  r8poly_deriv_test ( );
  r8poly_lagrange_coef_test ( );
  r8poly_lagrange_0_test ( );
  r8poly_lagrange_1_test ( );
  r8poly_lagrange_2_test ( );
  r8poly_lagrange_factor_test ( );
  r8poly_lagrange_val_test ( );
  r8poly_order_test ( );
  r8poly_print_test ( );
  r8poly_shift_test ( );
  r8poly_value_test ( );
  r8poly_value_fast_test ( );
  r8poly_value_horner_test ( );
  r8poly_values_horner_test ( );

  r8poly2_ex_test ( );
  r8poly2_ex2_test ( );
  r8poly2_root_test ( );
  r8poly2_rroot_test ( );
  r8poly2_val_test ( );
  r8poly2_val2_test ( );

  r8poly3_root_test ( );

  r8poly4_root_test ( );

  r8r8_print_test ( );

  r8vec_even_test ( );
  r8vec_even_select_test ( );
  r8vec_indicator1_test ( );
  r8vec_is_distinct_test ( );
  r8vec_linspace_test ( );
  r8vec_print_test ( );
  r8vec_transpose_print_test ( );

  roots_to_r8poly_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8poly_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../r8poly' );

  return
end
