function r8ss_dif2_test ( )

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

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8SS_DIF2_TEST\n' );
  fprintf ( 1, '  R8SS_DIF2 returns the second difference matrix in R8SS format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  [ na, diag, a ] = r8ss_dif2 ( n );

  r8ss_print ( n, na, diag, a, '  The R8SS second difference matrix:' );

  return
end
