function test_digraph_adj_test ( )

%*****************************************************************************80
%
%% test_digraph_adj_test() tests test_digraph_adj().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../test_digraph_adj' );

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

  digraph_adj_example_abc_test ( );
  digraph_adj_example_abcd_test ( );
  digraph_adj_example_cycler_test ( );
  digraph_adj_example_five_test ( );
  digraph_adj_example_moler_test ( );
  digraph_adj_example_sauer_test ( );
  digraph_adj_example_sixty_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'test_digraph_adj_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  rmpath ( '../test_digraph_adj' );

  return
end
function digraph_adj_example_abc_test ( )

%*****************************************************************************80
%
%% digraph_adj_example_abc_test() tests digraph_adj_example_abc().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digraph_adj_example_abc_test():\n' );
  fprintf ( 1, '  Test digraph_adj_example_abc()\n' );

  A = digraph_adj_example_abc ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  "abc" adjacency matrix A:\n' );
  disp ( A );

  return
end
function digraph_adj_example_abcd_test ( )

%*****************************************************************************80
%
%% digraph_adj_example_abcd_test() tests digraph_adj_example_abcd().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digraph_adj_example_abcd_test():\n' );
  fprintf ( 1, '  Test digraph_adj_example_abcd()\n' );

  A = digraph_adj_example_abcd ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  "abcd" adjacency matrix A:\n' );
  disp ( A );

  return
end
function digraph_adj_example_cycler_test ( )

%*****************************************************************************80
%
%% digraph_adj_example_cycler_test() tests digraph_adj_example_cycler().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digraph_adj_example_cycler_test():\n' );
  fprintf ( 1, '  Test digraph_adj_example_cycler()\n' );

  A = digraph_adj_example_cycler ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  "cycler" adjacency matrix A:\n' );
  disp ( A );

  return
end
function digraph_adj_example_five_test ( )

%*****************************************************************************80
%
%% digraph_adj_example_five_test() tests digraph_adj_example_five().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digraph_adj_example_five_test():\n' );
  fprintf ( 1, '  Test digraph_adj_example_five()\n' );

  A = digraph_adj_example_five ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  "five" adjacency matrix A:\n' );
  disp ( A );

  return
end
function digraph_adj_example_moler_test ( )

%*****************************************************************************80
%
%% digraph_adj_example_moler_test() tests digraph_adj_example_moler().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digraph_adj_example_moler_test():\n' );
  fprintf ( 1, '  Test digraph_adj_example_moler()\n' );

  A = digraph_adj_example_moler ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Moler adjacency matrix A:\n' );
  disp ( A );

  return
end
function digraph_adj_example_sauer_test ( )

%*****************************************************************************80
%
%% digraph_adj_example_sauer_test() tests digraph_adj_example_sauer().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digraph_adj_example_sauer_test()\n' );
  fprintf ( 1, '  Test digraph_adj_example_sauer()\n' );

  A = digraph_adj_example_sauer ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Sauer adjacency matrix A:\n' );
  disp ( A );

  return
end
function digraph_adj_example_sixty_test ( )

%*****************************************************************************80
%
%% digraph_adj_example_sixty_test() tests digraph_adj_example_sixty().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 April 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'digraph_adj_example_sixty_test():\n' );
  fprintf ( 1, '  Test digraph_adj_example_sixty()\n' );

  A = digraph_adj_example_sixty ( );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  "sixty" adjacency matrix A:\n' );
  disp ( A );

  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

