function u_polynomial_coefficients_test ( )

%*****************************************************************************80
%
%% u_polynomial_coefficients_test() tests u_polynomial_coefficients().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 July 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'u_polynomial_coefficients_test():\n' );
  fprintf ( 1, '  u_polynomial_coefficients() determines the\n' );
  fprintf ( 1, '  polynomial coefficients for U(n,x).\n' );

  c = u_polynomial_coefficients ( n );
 
  for i = 0 : n
    for j = 0 : i
      c2(j+1) = c(i+1,j+1);
    end
    r8poly_print ( c2, '' );
  end

  return
end
