function jacobi_poly_values_test ( )

%*****************************************************************************80
%
%% jacobi_poly_values_test() tests jacobi_poly_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2012
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'jacobi_poly_values_test():\n' );
  fprintf ( 1, '  jacobi_poly_values() returns values of\n' );
  fprintf ( 1, '  the Jacobi polynomial.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       N       A       B      X               J(N,A,B)(X)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, n, a, b, x, fx ] = jacobi_poly_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %6d  %8f  %8f  %10f  %24.16f\n', n, a, b, x, fx );

  end

  return
end
