function latin_center_test ( )

%*****************************************************************************80
%
%% latin_center_test tests latin_center.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    10 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../latin_center' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'latin_center_test:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test latin_center.\n' );

  seed = 0;
  seed_save = get_seed ( seed );

  seed = seed_save;
  seed = latin_center_test01 ( seed );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Repeat test with different seed than run 1.\n' );

  seed = latin_center_test01 ( seed );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Repeat test with same seed as run 1.\n' );

  seed = seed_save;
  seed = latin_center_test01 ( seed );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'latin_center_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../latin_center' );

  return
end

