function gamma_pdf_values_test ( )

%*****************************************************************************80
%
%% gamma_pdf_values_test() tests gamma_pdf_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    29 July 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'gamma_pdf_values_test():\n' );
  fprintf ( 1, '  gamma_pdf_values() stores values of\n' );
  fprintf ( 1, '  a Gamma Probability Density Function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      Beta             Alpha         X                  PDF(X)\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, beta, alpha, x, fx ] = gamma_pdf_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %14g  %14g  %14g  %24.16g\n', beta, alpha, x, fx );

  end

  return
end
