function perm1_random2_test ( )

%*****************************************************************************80
%
%% perm1_random2_test() tests perm1_random2().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 July 2021
%
%  Author:
%
%    John Burkardt
%
  n = 4;
  fprintf ( 1, '\n' );
  fprintf ( 1, 'perm1_random2_test()\n' );
  fprintf ( 1, '  perm1_random2() produces a random permutation of (1,...,N).\n' );
  fprintf ( 1, '  For this test, N = %d\n', n );
  fprintf ( 1, '\n' );
 
  for i = 1 : 5
    p = perm1_random2 ( n );
    perm1_print ( n, p, '' );
  end

  return
end
