function npart_rsf_lex_unrank_test ( )

%*****************************************************************************80
%
%% NPART_RSF_LEX_UNRANK_TEST tests NPART_RSF_LEX_UNRANK.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    22 December 2015
%
%  Author:
%
%    John Burkardt
%
  npart = 3;
  n = 12;

  fprintf ( 1, ' \n' );
  fprintf ( 1, 'NPART_RSF_LEX_UNRANK_TEST\n' );
  fprintf ( 1, '  NPART_RSF_LEX_UNRANK unranks\n' );
  fprintf ( 1, '  partitions of N with NPART parts\n' );
  fprintf ( 1, '  in reverse standard form.\n' );
  fprintf ( 1, ' \n' );

  rank = 4;

  t = npart_rsf_lex_unrank ( rank, n, npart );

  i4vec_transpose_print ( npart, t, '  The element of rank 4:' );

  return
end
