function p00_title_test ( )

%*****************************************************************************80
%
%% p00_title_test() tests p00_title().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    09 February 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'p00_title_test\n' );
  fprintf ( 1, '  p00_title prints the title for each problem.\n' );
%
%  Get the number of problems.
%
  problem_num = p00_problem_num ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '   Problem Title\n' );
  fprintf ( 1, '\n' );

  for problem = 1 : problem_num

    title = p00_title ( problem );

    fprintf ( 1, '        %2d:  "%s"\n', problem, title );

  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'p00_title_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
