function bell_poly_coef_test ( )

%*****************************************************************************80
%
%% BELL_POLY_COEF_TEST tests BELL_POLY_COEF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 March 2018
%
%  Author:
%
%    John Burkardt
%
  n_max = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'BELL_POLY_COEF_TEST\n' );
  fprintf ( 1, '  BELL_POLY_COEF returns the coefficients of a\n' );
  fprintf ( 1, '  Bell polynomial.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Table of polynomial coefficients:\n' );
  fprintf ( 1, '\n' );

  for n = 0 : n_max
    c = bell_poly_coef ( n );
    fprintf ( 1, '  %2d:  ', n );
    for i = 0 : n
      fprintf ( 1, '  %6d', c(i+1) );
    end
    fprintf ( 1, '\n' );
  end

  return
end
