function r8row_min_test ( )

%*****************************************************************************80
%
%% r8row_min_test() tests r8row_min();
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2009
%
%  Author:
%
%    John Burkardt
%
  m = 3;
  n = 4;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8ROW_MIN_TEST():\n' );
  fprintf ( 1, '  R8ROW_MIN computes minimums of an R8ROW.\n' );

  k = 0;
  for i = 1 : m
    for j = 1 : n
      k = k + 1;
      a(i,j) = k;
    end
  end

  r8row_print ( m, n, a, '  The original matrix:' );

  amin = r8row_min ( m, n, a );

  r8vec_print ( m, amin, '  Row minimums:' );

  return
end
