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

%*****************************************************************************80
%
%% d_measure_test() tests d_measure().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 November 2008
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'd_measure_test()\n' );
  fprintf ( 1, '  D_MEASURE computes the D measure of quality.\n' );
  fprintf ( 1, '  2nd moment determinant measure   D = %14.4g\n', ...
    d_measure ( dim_num, n, z, ns, sample_routine ) );

  return
end
