function subset_colex_unrank_test ( )

%*****************************************************************************80
%
%% SUBSET_COLEX_UNRANK_TEST tests SUBSET_COLEX_UNRANK.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    22 December 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, ' \n' );
  fprintf ( 1, 'SUBSET_COLEX_UNRANK_TEST\n' );
  fprintf ( 1, '  SUBSET_COLEX_UNRANK unranks subsets of a set,\n' );
  fprintf ( 1, '  using the colexicographic ordering.\n' );

  rank = 10;

  t = subset_colex_unrank ( rank, n );

  i4vec_transpose_print ( n, t, '  The subset of rank 10:' );

  return
end
