function zeta_naive_test ( )

%*****************************************************************************80
%
%% zeta_naive_test() tests zeta_naive().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 October 2005
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'zeta_naive_test():\n' );
  fprintf ( 1, '  zeta_naive() evaluates the Riemann Zeta function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       N                 Zeta                  Zeta\n' );
  fprintf ( 1, '                        exact              computed\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, n, z1 ] = zeta_values ( n_data );

    if ( n_data == 0 )
      break
    end

    z2 = zeta_naive ( n );

    fprintf ( 1, '  %6d  %20e  %20e\n', n, z1, z2 );

  end

  return
end
