function stirling2_number_test ( )

%*****************************************************************************80
%
%% stirling2_number_test() tests stirling2_number().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 October 2008
%
%  Author:
%
%    John Burkardt
%
  n_max = 8;
  k_max = 8;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'stirling2_number_test():\n' );
  fprintf ( 1, '  stirling2_number() computes Stirling numbers of second kind.\n' );
  fprintf ( 1, '\n' );
  
  for n = 0 : n_max
    fprintf ( 1, '  %4d', n );
    for k = 0 : k_max
      fprintf ( 1, '  %6d', stirling2_number ( n, k ) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
