function rgf_unrank_test ( )

%*****************************************************************************80
%
%% rgf_unrank_test() tests rgf_unrank().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 December 2015
%
%  Author:
%
%    John Burkardt
%
  m = 4;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'rgf_unrank_test():\n' );
  fprintf ( 1, '  rgf_unrank() unranks restricted growth functions.\n' );

  rank = 7;

  f = rgf_unrank ( rank, m );

  i4vec_print ( m, f, '  The element of rank 7' );

  return
end
