function r8ccs_print_test ( )

%*****************************************************************************80
%
%% r8ccs_print_test() tests r8ccs_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 5;
  nz_num = 12;
  colptr = [ 1, 4, 6, 8, 10, 13 ];
  rowind = [ 1, 2, 4, 1, 2, 3, 5, 4, 5, 1, 2, 5 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8ccs_print_test():\n' );
  fprintf ( 1, '  r8ccs_print() prints a r8ccs matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix rows M =          %d\n', m );
  fprintf ( 1, '  Matrix columns N =       %d\n', n );
  fprintf ( 1, '  Matrix nonzeros NZ_NUM = %d\n', nz_num );
%
%  Set the matrix.
%
  a = r8ccs_random ( m, n, nz_num, colptr, rowind );
%
%  Print the matrix.
%
  r8ccs_print ( m, n, nz_num, colptr, rowind, a, '  The r8ccs matrix:' );

  return
end
