function r8ss_print_some_test ( )

%*****************************************************************************80
%
%% R8SS_PRINT_SOME_TEST tests R8SS_PRINT_SOME.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 9;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8SS_PRINT_SOME_TEST\n' );
  fprintf ( 1, '  R8SS_PRINT_SOME prints some of an R8SS matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
%
%  Set the matrix.
%
  [ na, diag, a, seed ] = r8ss_random ( n, seed );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Number of nonzero entries stored is %d\n', na );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Diagonal storage indices:\n' );
  fprintf ( 1, '\n' );
  for i = 1 : n
    fprintf ( 1, '%6d  %6d\n', i, diag(i) );
  end

  r8ss_print_some ( n, na, diag, a, 2, 1, 8, 5, '  Rows 2-8, Cols 1:5' );

  return
end
