function legendre01_to_bernstein_matrix_test ( )

%*****************************************************************************80
%
%% legendre01_to_bernstein_matrix_test() tests legendre01_to_bernstein_matrix().
%
%  Discussion:
%
%    For this case, the Legendre polynomials have been shifted from
%    [-1,+1] to [0,1].
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 February 2024
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'legendre01_to_bernstein_matrix_test ( )\n' );
  fprintf ( 1, '  legendre01_to_bernstein_matrix() returns the matrix\n' );
  fprintf ( 1, '  which converts a polynomial from Legendre[0,1] form\n' );
  fprintf ( 1, '  to Bernstein form.\n' );

  n = 4;
  A = legendre01_to_bernstein_matrix ( n + 1 );
  fprintf ( 1, '\n' );
  disp ( A );

  return
end
