function full_deck_try_test ( )

%*****************************************************************************80
%
%% full_deck_try_test() tests full_deck_try().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 May 2022
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'full_deck_try_test():\n' );
  fprintf ( 1, '  full_deck_try() repeatedly draws a random card\n' );
  fprintf ( 1, '  until all cards have been seen at least once.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Try  Min    Mean Max  Total\n' );
  fprintf ( 1, '\n' );

  for i = 1 : 10
    cards = full_deck_try ( );
    fprintf ( 1, '   %2d  %3d  %6.2f  %2d   %4d\n', ...
      i, min ( cards ), mean ( cards ), max ( cards ), sum ( cards ) );
  end

  return
end

