function graph_adj_test ( )

%*****************************************************************************80
%
%% graph_adj_test() tests graph_adj().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 March 2023
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../graph_adj' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'graph_adj_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test graph_adj().\n' );

  graph_adj_degree_test ( );
  graph_adj_distance_from_node_test ( );
  graph_adj_edge_count_test ( );
  graph_adj_edge_select_test ( );
  graph_adj_is_eulerian_test ( );
  graph_adj_is_nodewise_connected_test ( );
  graph_adj_random_test ( );
  graph_adj_transitive_closure_test ( );
  graph_adj_walks_test ( );
  matrix_is_adjacency_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'graph_adj_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  rmpath ( '../graph_adj' );

  return
end
function timestamp ( )

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

  return
end

