function schroeder_test ( )

%*****************************************************************************80
%
%% schroeder_test() tests schroeder().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 April 2009
%
%  Author:
%
%    John Burkardt
%
  n = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'schroeder_test():\n' );
  fprintf ( 1, '  schroeder() computes the Schroeder numbers.\n' );
  fprintf ( 1, '\n' );

  s = schroeder ( n );

  fprintf ( 1, '\n' );
  fprintf ( 1, '     N        S(N)\n' );
  fprintf ( 1, '\n' );

  for i = 1 : n
    fprintf ( 1, '  %4d  %8d\n', i, s(i) );
  end

  return
end
