function stirling2_row_test ( )

%*****************************************************************************80
%
%% stirling2_row_test() tests stirling2_row().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 May 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'stirling2_row_test():\n' );
  fprintf ( 1, '  stirling2_row() computes the I-th row of the table\n' );
  fprintf ( 1, '  of Stirling numbers of the second kind.\n' );
  fprintf ( 1, '  We will get rows 1 through 8, one at a time.\n' );
  fprintf ( 1, '\n' );
 
  for n = 1 : 8
    s2_row = stirling2_row ( n );
    fprintf ( 1, '  %4d', n );
    for j = 1 : n
      fprintf ( 1, '  %6d', s2_row(j) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
