function chi_measure_test ( dim_num, n, z, ns, sample_routine )

%*****************************************************************************80
%
%% chi_measure_test() tests chi_measure().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 November 2008
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'chi_measure_test()\n' );
  fprintf ( 1, '  CHI_MEASURE computes the CHI measure of quality.\n' );
  fprintf ( 1, '  The regularity measure         Chi = %14f\n', ...
    chi_measure ( dim_num, n, z, ns, sample_routine ) );

  return
end
