function hyper_2f1_values_test ( )

%*****************************************************************************80
%
%% hyper_2f1_values_test() tests hyper_2f1_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 February 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'hyper_2f1_values_test():\n' );
  fprintf ( 1, '  hyper_2f1_values() stores values of \n' );
  fprintf ( 1, '  the hypergeometric 2F1 function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '     A      B      C     X     Hyper_2F1(A,B,C,X)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, a, b, c, x, fx ] = hyper_2f1_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %8f  %8f  %8f  %8f  %24.16g\n', a, b, c, x, fx );

  end

  return
end
