function latin_edge_test ( )

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

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'latin_edge_test:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test latin_edge.\n' );

  seed = 0;
  seed = get_seed ( seed );

  seed_save = seed;
  seed = latin_edge_test01 ( seed );

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

  seed = latin_edge_test01 ( seed );

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

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

  rmpath ( '../latin_edge' );

  return
end
