function euler_number_test ( )

%*****************************************************************************80
%
%% EULER_NUMBER_TEST tests EULER_NUMBER.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 October 2008
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'EULER_NUMBER_TEST\n' );
  fprintf ( 1, '  EULER_NUMBER computes Euler numbers.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  N  exact   EULER_NUMBER\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, n, c1 ] = euler_number_values ( n_data );

    if ( n_data == 0 )
      break
    end

    c2 = euler_number ( n );

    fprintf ( 1, '  %2d  %10d  %10d\n', n, c1, c2(n+1) );

  end

  return
end
