function full_deck_simulation_test ( )

%*****************************************************************************80
%
%% full_deck_simulation_test() tests full_deck_simulation().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 May 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../full_deck_simulation' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'full_deck_simulation_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  full_deck_simulation() simulates a process in which\n' );
  fprintf ( 1, '  a card is drawn from the deck, then returned.\n' );
  fprintf ( 1, '  The process is continued until all cards have been seen\n' );
  fprintf ( 1, '  at least once.\n' );

  full_deck_try_test ( );
  full_deck_stats_test ( );
  full_deck_expected_test ( );
  full_deck_variance_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'full_deck_simulation_test()\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../full_deck_simulation' );

  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

