function i4vec_shift_circular_test ( )

%*****************************************************************************80
%
%% i4vec_shift_circular_test() tests i4vec_shift_circular().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 June 2024
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4vec_shift_circular_test():\n' );
  fprintf ( 1, '  i4vec_shift_circular() circularly shifts a vector by K positions.\n' );

  n = 10;
  a = i4vec_indicator1 ( n );
  i4vec_print ( n, a, '  The vector:' );

  k = 3;
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Using a circular shift of K = %d\n', k );

  a2 = i4vec_shift_circular ( n, a, k );
  i4vec_print ( n, a2, '  Shifted vector:' );

  return
end
