function r8to_dif2_test ( )

%*****************************************************************************80
%
%% R8TO_DIF2_TEST tests R8TO_DIF2.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 March 2009
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8TO_DIF2_TEST\n' );
  fprintf ( 1, '  R8TO_DIF2 sets the second difference matrix as an R8TO matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
%
%  Set the matrix.
%
  a = r8to_dif2 ( n );

  r8to_print ( n, a, '  The matrix:' );

  return
end
