function perm1_print_test ( )

%*****************************************************************************80
%
%% perm1_print_test() tests perm1_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 June 2015
%
%  Author:
%
%    John Burkardt
%
  n = 7;
  p = [ 7, 2, 4, 1, 5, 3, 6 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'perm1_print_test():\n' );
  fprintf ( 1, '  perm1_print() prints a permutation of (1,...,N).\n' );

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

  return
end
