function nintlib_testnd ( dim_num, func )

%*****************************************************************************80
%
%% nintlib_testnd() tests the integrators on a particular function.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 March 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer DIM_NUM, the spatial dimension.
%
%    function FUNC ( DIM_NUM, X ), the function to be integrated.
%
  nintlib_test01 ( dim_num, func );
  nintlib_test02 ( dim_num, func );
  nintlib_test03 ( dim_num, func );
  nintlib_test04 ( dim_num, func );
%
%  TEST05 is only set up for DIM_NUM = 2.
%
  if ( dim_num == 2 )
    nintlib_test05 ( dim_num, func );
  end

  nintlib_test06 ( dim_num, func );

  return
end
