function i4_min_test ( )

%*****************************************************************************80
%
%% I4_MIN_TEST tests I4_MIN.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 March 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4_MIN_TEST\n' );
  fprintf ( 1, '  I4_MIN returns the minimum of two I4''s.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '       A       B      C=I4_MIN(A,B)\n' );
  fprintf ( 1, '\n' );

  i4_lo = -100.0;
  i4_hi = +100.0;
  seed = 123456789;
  for i = 1 : 10
    [ a, seed ] = i4_uniform_ab ( i4_lo, i4_hi, seed );
    [ b, seed ] = i4_uniform_ab ( i4_lo, i4_hi, seed );
    c = i4_min ( a, b );
    fprintf ( 1, '  %8d  %8d  %8d\n', a, b, c );
  end

  return
end
