function r8sr_dif2_test ( )

%*****************************************************************************80
%
%% R8SR_DIF2_TEST tests R8SR_DIF2.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 June 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8SR_DIF2_TEST\n' );
  fprintf ( 1, '  R8SR_DIF2 sets up an R8SR second difference matrix;\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  [ nz, row, col, diag, off ] = r8sr_dif2 ( n );

  r8sr_print ( n, nz, row, col, diag, off, '  The R8SR second difference matrix:' );

  return
end
