function hyper_2f1_complex_values_test ( )

%*****************************************************************************80
%
%% hyper_2f1_complex_values_test() tests hyper_2f1_complex_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 December 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'hyper_2f1_complex_values_test():\n' );
  fprintf ( 1, '  hyper_2f1_complex_values() stores values of \n' );
  fprintf ( 1, '  the hypergeometric 2F1 function with complex argument.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '     A      B      C     Z     Hyper_2F1(A,B,C;Z)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, a, b, c, z, fz ] = hyper_2f1_complex_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %6f  %6f  %6f  (%6f,%6f)  (%14.6g,%14.6g)\n', ...
      a, b, c, real ( z ), imag ( z ), real ( fz ), imag ( fz ) );

  end

  return
end
