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

%*****************************************************************************80
%
%% e_measure_test() tests e_measure().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 July 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'e_measure_test():\n' );
  fprintf ( 1, '  e_measure() computes the E measure of quality.\n' );
  fprintf ( 1, '  The Voronoi energy measure       E = %14f\n', ...
    e_measure ( dim_num, n, z, ns, sample_routine ) );

  return
end
