function r8ri_dif2_test ( )

%*****************************************************************************80
%
%% R8RI_DIF2_TEST tests R8RI_DIF2.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    08 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8RI_DIF2_TEST\n' );
  fprintf ( 1, '  R8RI_DIF2 sets up an R8RI indicator matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  [ nz, ija, a ] = r8ri_dif2 ( n );

  r8ri_print ( n, nz, ija, a, '  The R8RI second difference matrix:' );

  return
end
