function i4mat_min_test ( )

%*****************************************************************************80
%
%% i4mat_min_test() tests i4mat_min().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    18 October 2014
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 7;
  b = 0;
  c = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4mat_min_test():\n' );
  fprintf ( 1, '  i4mat_min() returns the minimum;\n' );
 
  a = randi ( [ b, c ], m, n );
 
  i4mat_print ( m, n, a, '  Random array:' );
 
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Minimum entry = %d', i4mat_min ( m, n, a ) );

  return
end
