function subpak_test ( )

%*****************************************************************************80
%
%% subpak_test() tests subpak().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    22 March 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../subpak' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'subpak_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test subpak()\n' );

  angle_shift_test ( );
  angle_shift_deg_test ( );
  subpak_test03 ( );
  subpak_test04 ( );
  subpak_test05 ( );
  subpak_test06 ( );
  subpak_test07 ( );
  subpak_test08 ( );
  subpak_test09 ( );

  subpak_test11 ( );
  subpak_test12 ( );
  subpak_test13 ( );
  subpak_test14 ( );
  subpak_test15 ( );
  subpak_test16 ( );
  subpak_test17 ( );
  subpak_test18 ( );
  subpak_test19 ( );

  subpak_test22 ( );
  subpak_test24 ( );
  subpak_test25 ( );
  subpak_test26 ( );
  subpak_test27 ( );
  subpak_test28 ( );
  subpak_test29 ( );

  subpak_test30 ( );
  subpak_test31 ( );
  subpak_test32 ( );
  subpak_test33 ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'subpak_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../subpak' );

  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
