function r8crs_indicator_test ( )

%*****************************************************************************80
%
%% r8crs_indicator_test tests r8crs_indicator.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 March 2009
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  nz = 12;
  col = [ ...
    1, 2, 5, ...
    2, 5, ...
    1, 3, ...
    1, 4, ...
    2, 3, 5 ];
  row = [ 1, 4, 6, 8, 10, 13 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8crs_indicator_test\n' );
  fprintf ( 1, '  r8crs_indicator sets up an R8SR indicator matrix;\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  val = r8crs_indicator ( n, nz, row, col );

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

  return
end
