function i4mat_print_some_test ( )

%*****************************************************************************80
%
%% i4mat_print_some_test() tests i4mat_print_some().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 June 2015
%
%  Author:
%
%    John Burkardt
%
  m = 6;
  n = 4;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4MAT_PRINT_SOME_TEST\n' );
  fprintf ( 1, '  I4MAT_PRINT_SOME prints some of an I4MAT.\n' );

  for j = 1 : n
    for i = 1 : m
      a(i,j) = i * 10 + j;
    end
  end

  i4mat_print_some ( m, n, a, 2, 1, 4, 2, '  The I4MAT, rows 2:4, cols 1:2:' );

  return
end
