function vacancy_this_span_test ( )

%*****************************************************************************80
%
%% vacancy_this_span_test() tests vacancy_this_span().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 January 2025
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vacancy_this_span_test():\n' );
  fprintf ( 1, '  Test vacancy_this_span(), which estimates the probability\n' );
  fprintf ( 1, '  that there will be a vacancy within a given span\n' );
  fprintf ( 1, '  of years.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '   Span   Prob\n' );

  for span = 1 : 12
    p = vacancy_this_span ( span );
    fprintf ( 1, '    %2d  %6.3f\n', span, p );
  end

  return
end

