function u_polynomial_ab_test ( )

%*****************************************************************************80
%
%% u_polynomial_ab_test() tests u_polynomial_ab().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    20 July 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'U_POLYNOMIAL_AB_TEST:\n' );
  fprintf ( 1, '  U_POLYNOMIAL_AB evaluates Chebyshev polynomials UAB(n,x)\n' );
  fprintf ( 1, '  shifted from [-1,+1] to the domain [A,B].\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Here, we will use the new domain [0,1]\n' );
  fprintf ( 1, '  and the desired maximum polynomial degree will be N = 5.\n' );

  a = 0.0;
  b = 1.0;
  m = 11;
  n = 5;
  xab = linspace ( a, b, m );
  
  v = u_polynomial_ab ( a, b, m, n, xab );

  r8mat_print ( m, n + 1, v, '  Tables of U values:' );

  return
end
