function perm0_print_test ( )

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

  fprintf ( 1, '\n' );
  fprintf ( 1, 'PERM0_PRINT_TEST\n' );
  fprintf ( 1, '  PERM0_PRINT prints a permutation of (0,...,N-1).\n' );

  perm0_print ( n, p, '  A 0-based permutation:' );

  return
end
