function perm_print_test ( )

%*****************************************************************************80
%
%% PERM_PRINT_TEST tests PERM_PRINT.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    23 June 2015
%
%  Author:
%
%    John Burkardt
%
  n = 7;
  p = [ 7, 2, 4, 1, 5, 3, 6 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'PERM_PRINT_TEST\n' );
  fprintf ( 1, '  PERM_PRINT prints a permutation of (1,...,N).\n' );

  perm_print ( n, p, '  A 1-based permutation:' );

  return
end
