function gaussian_prime_real_values_test ( )

%*****************************************************************************80
%
%% gaussian_prime_real_values_test() tests gaussian_prime_real_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    26 January 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'gaussian_prime_real_values_test():\n' );
  fprintf ( 1, '  gaussian_prime_real_values() returns values of real\n' );
  fprintf ( 1, '  (integer) Gaussian primes.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  P\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, p ] = gaussian_prime_real_values ( n_data );

    if ( n_data == 0 )
      break;
    end

    fprintf ( 1, '%12d\n', p );

  end

  return
end
