function inverse_chi_square_pdf_values_test ( )

%*****************************************************************************80
%
%% INVERSE_CHI_SQUARE_PDF_VALUES_TEST tests INVERSE_CHI_SQUARE_PDF_VALUES.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    04 August 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'INVERSE_CHI_SQUARE_PDF_VALUES_TEST:\n' );
  fprintf ( 1, '  INVERSE_CHI_SQUARE_PDF_VALUES returns values of\n' );
  fprintf ( 1, '  the inverse Chi Square Probability Density Function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '        DF         X         PDF\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, df, x, fx ] = inverse_chi_square_pdf_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %8g  %8g  %24.16g\n', df, x, fx );

  end

  return
end
