function i4_uni_test ( )

%*****************************************************************************80
%
%% i4_uni_test() tests i4_uni().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    27 July 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4_UNI_TEST\n' );
  fprintf ( 1, '  I4_UNI returns a random positive integer.\n' );
  fprintf ( 1, '\n' );

  for i = 1 : 20
    value = i4_uni ( );
    fprintf ( 1, '  %2d  %12d\n', i, value );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4_UNI_TEST:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
