function graph_dist_test ( )

%*****************************************************************************80
%
%% graph_dist_test() tests graph_dist().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    06 November 2024
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../graph_dist' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'graph_dist_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test graph_dist(), which implements graph algorithms.\n' );

  graph_dist_all_test ( )
  graph_dist_check_test ( )
  graph_dist_min_span_tree_test ( )
  graph_dist_min_span_tree_alternate_test ( )
  graph_dist_min_span_tree2_test ( )
  graph_dist_min_span_tree3_test ( )
  graph_dist_one_test ( )
  graph_dist_pairing_greedy_test ( )
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'graph_dist_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../graph_dist' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 November 2022
%
%  Author:
%
%    John Burkardt
%
  t = now ( );
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end
