function ccvt_reflect_test ( )

%*****************************************************************************80
%
%% CCVT_REFLECT_TEST tests CCVT_REFLECT.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    02 January 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../ccvt_reflect' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CCVT_REFLECT_TEST\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test CCVT_REFLECT.\n' );

  ndim = 2;
  n = 100;
  seed = 123456789;
  init_string = 'rand';
  it_max = 50;
  it_fixed = 1;
  sample_string = 'rand';
  sample_num = 100000;
  batch = 1000;
  movie_name = 'ccvt_reflect_test.avi';
  output = 'generators.txt';

  ccvt_reflect ( ndim, n, seed, init_string, it_max, it_fixed, sample_string, ...
    sample_num, batch, movie_name, output );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CCVT_REFLECT_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../ccvt_reflect' )

  return
end
