function p00_sol_test ( )

%*****************************************************************************80
%
%% p00_sol_test() tests p00_sol().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    16 March 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'p00_sol_test():\n' );
  fprintf ( 1, '  p00_sol() returns a minimizer for any test function f(x)\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  test               X            F(X)\n' );
  fprintf ( 1, '\n' );

  test_num = p00_test_num ( );

  for test = 1 : test_num

    x_sol = p00_sol ( test );

    f_sol = p00_f ( test, x_sol );

    fprintf ( 1, '  %7d  %14.6g  %14.6g\n', test, x_sol, f_sol );
 
  end

  return
end

