function beta_pdf_values_test ( )

%*****************************************************************************80
%
%% beta_pdf_values_test() tests beta_pdf_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 July 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'beta_pdf_values_test():\n' );
  fprintf ( 1, '  beta_pdf_values() stores values of\n' );
  fprintf ( 1, '  the BETA PDF.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      ALPHA      BETA     X            FX\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

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

    if ( n_data == 0 )
      break
    end

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

  end

  return
end
