function eulerian_test ( )

%*****************************************************************************80
%
%% EULERIAN_TEST tests EULERIAN.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 October 2008
%
%  Author:
%
%    John Burkardt
%
  n = 7;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'EULERIAN_TEST\n' );
  fprintf ( 1, '  EULERIAN evaluates Eulerian numbers.\n' );
  fprintf ( 1, '\n' );
 
  e = eulerian ( n );

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

  return
end
