function graph_adj_edge_count_test ( )

%*****************************************************************************80
%
%% graph_adj_edge_count_test() tests graph_adj_edge_count().
%
%  Diagram:
%
%        6   3
%        |   |
%    1---4---5---2
%        |
%        7
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    11 March 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'graph_adj_edge_count_test():\n' );
  fprintf ( 1, '  graph_adj_edge_count() counts edges in a graph.\n' );

  A = graph_adj_example_bush ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Adjacency matrix for bush example' );
  disp ( A );

  nedge = graph_adj_edge_count ( A );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Number of edges is %d\n', nedge );

  return
end
