function r8sd_print_some_test ( )

%*****************************************************************************80
%
%% R8SD_PRINT_SOME_TEST tests R8SD_PRINT_SOME.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 10;
  ndiag = 3;
  offset = [ 0, 1, 3 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8SD_PRINT_SOME_TEST\n' );
  fprintf ( 1, '  R8SD_PRINT_SOME prints some of an R8SD matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N =         %d\n', n );
  fprintf ( 1, '  Matrix diagonals NDIAG = %d\n', ndiag );

  a = r8sd_indicator ( n, ndiag, offset );

  r8sd_print_some ( n, ndiag, offset, a, 2, 3, 8, 7, '  Rows 2-8, Cols 3-7:' );

  return
end
