function treepack_test ( )

%*****************************************************************************80
%
%% treepack_test() tests treepack().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    05 March 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../treepack' );

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

  catalan_test ( )
  treepack_test006 ( )
  treepack_test01 ( )
  treepack_test02 ( )
  treepack_test025 ( )
  treepack_test03 ( )
  treepack_test04 ( )
  treepack_test05 ( )
  treepack_test06 ( )
  treepack_test07 ( )
  treepack_test08 ( )
  treepack_test09 ( )

  treepack_test10 ( )
  treepack_test11 ( )
  treepack_test12 ( )
  treepack_test13 ( )
  treepack_test14 ( )
  treepack_test15 ( )
  treepack_test16 ( )
  treepack_test17 ( )
  treepack_test18 ( )
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'treepack_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( )

  rmpath ( '../treepack' );

  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

