function poly_bernoulli_test ( )

%*****************************************************************************80
%
%% poly_bernoulli_test() tests poly_bernoulli().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 October 2008
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'poly_bernoulli_test():\n' );
  fprintf ( 1, '  poly_bernoulli() computes the poly-Bernoulli numbers\n' );
  fprintf ( 1, '  of negative index, B_n^(-k)\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   N   K    B_N^(-K)\n' );
  fprintf ( 1, '\n' );

  for k = 0 : 6

    fprintf ( 1, '\n' );

    for n = 0 : 6

      b = poly_bernoulli ( n, k );

      fprintf ( 1, '  %2d  %2d  %12d\n', n, k, b );

    end
  end

  return
end
