function i4_uniform_0i_test ( )

%*****************************************************************************80
%
%% i4_uniform_0i_test() tests i4_uniform_0i().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    29 June 2006
%
%  Author:
%
%    John Burkardt
%
  key = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4_UNIFORM_0I_TEST\n' );
  fprintf ( 1, '  I4_UNIFORM_0I computes pseudorandom integers\n' );
  fprintf ( 1, '  in the interval [1,(2^31)-1].\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  The initial key is %d\n', key );
  fprintf ( 1, '\n' );

  for i = 1 : 10
    key = i4_uniform_0i ( key );
    fprintf ( 1, '  %12d  %d\n', i, key );
  end

  return
end
