function p00_n_test ( )

%*****************************************************************************80
%
%% P00_N_TEST returns the problem size.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    03 December 2016
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'P00_N_TEST:\n' );
  fprintf ( 1, '  P00_N returns problem size or a minimum problem size.\n' );
%
%  Get the number of problems.
%
  problem_num = p00_problem_num ( );

  fprintf ( 1, '\n' );

  for problem = 1 : problem_num

    n = p00_n ( problem );

    title = p00_title ( problem );

    fprintf ( 1, '  %2d:', problem );
    if ( n < 0 )
      fprintf ( '  Minimum N = %2d', - n );
    else
      fprintf ( '          N = %2d', n );
    end
    fprintf ( '  "%s"\n', title );

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

  return
end
