function i4vec_decrement_test ( )

%*****************************************************************************80
%
%% i4vec_decrement_test() tests i4vec_decrement().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 January 2015
%
%  Author:
%
%    John Burkardt
%
  n = 4;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4vec_decrement_test():\n' );
  fprintf ( 1, '  i4vec_decrement() decrements an I4VEC.\n' );

  v_lo = -5;
  v_hi = 10;
  v = randi ( [ v_lo, v_hi ], n, 1 );
  i4vec_print ( n, v, '  The I4VEC:' );
  v = i4vec_decrement ( n, v );
  i4vec_print ( n, v, '  The I4VEC after decrementing:' );

  return
end
