function r8crs_dif2_test ( )

%*****************************************************************************80
%
%% r8crs_dif2_test tests r8crs_dif2.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2020
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8crs_dif2_test\n' );
  fprintf ( 1, '  r8crs_dif2 sets up a second difference matrix\n' );
  fprintf ( 1, '  using compressed row storage (CRS).\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  [ nz, row, col, val ] = r8crs_dif2 ( n );

  r8crs_print ( n, nz, row, col, val, '  The R8CRS second difference matrix:' );

  return
end
