function ytb_random_test ( )

%*****************************************************************************80
%
%% ytb_random_test() tests ytb_random().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 July 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ytb_random_test():\n' );
  fprintf ( 1, '  ytb_random() generates a random Young tableau.\n' );

  n = 6;
  lambda = [ 3, 2, 1, 0, 0, 0 ];

  for i = 1 : 5
 
    a = ytb_random ( n, lambda );

    ytb_print ( n, a, '' );
 
  end

  return
end
