function equiv_random_test ( )

%*****************************************************************************80
%
%% equiv_random_test() tests equiv_random().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 July 2021
%
%  Author:
%
%    John Burkardt
%
  n = 4;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'equiv_random_test():\n' );
  fprintf ( 1, '  equiv_random() selects a random set partition.\n' );
 
  for i = 1 : 5
 
    [ npart, a ] = equiv_random ( n );

    equiv_print2 ( n, a, '  The partition:' );
 
  end

  return
end
