function supreme_vacancy_test ( )

%*****************************************************************************80
%
%% supreme_vacancy_test() tests supreme_vacancy().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 January 2025
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../supreme_vacancy' );

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

  die_this_year_test ( );
  die_this_span_test ( );
  vacancy_this_span_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'supreme_vacancy_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../supreme_vacancy' );

  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

