function ccvt_box_test ( )

%*****************************************************************************80
%
%% CCVT_BOX_TEST tests the CCVT_BOX library.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    22 December 2018
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../ccvt_box' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'CCVT_BOX_TEST\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test CCVT_BOX.\n' );

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

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

  rmpath ( '../ccvt_box' )

  return
end
