function r8sr_print_some_test ( )

%*****************************************************************************80
%
%% r8sr_print_some_test() tests r8sr_print_some().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 June 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  nz = 7;
  col = [ 2, 5, 5, 1, 1, 2, 3 ];
  row = [ 1, 3, 4, 5, 6, 8 ];
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8SR_PRINT_TEST\n' );
  fprintf ( 1, '  R8SR_PRINT prints a R8SR matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
%
%  Set the matrix.
%
  [ diag, off, seed ] = r8sr_random ( n, nz, row, col, seed );
%
%  Print the matrix.
%
  r8sr_print_some ( n, nz, row, col, diag, off, ...
    1, 5, n, 5, '  Rows 1:N, column 5' );

  return
end
