function chi_square_noncentral_cdf_values_test ( )

%*****************************************************************************80
%
%% chi_square_noncentral_cdf_values_test() test chi_square_noncentral_cdf_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 February 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'chi_square_noncentral_cdf_values_test():\n' );
  fprintf ( 1, '  chi_square_noncentral_cdf_values() returns values of\n' );
  fprintf ( 1, '  the noncentral Chi-Squared Cumulative Density Function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      X      LAMBDA     DF     CDF\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, x, lambda, df, fx ] = chi_square_noncentral_cdf_values ( n_data );

    if ( n_data == 0 )
      break;
    end

    fprintf ( 1, '  %10f  %8f  %4d  %24.16e\n', x, lambda, df, fx );

  end

  return
end
