function ccs_io_test02 ( )

%*****************************************************************************80
%
%% ccs_io_test02 tests CCS_HEADER_READ and CCS_DATA_READ.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 July 2014
%
%  Author:
%
%    John Burkardt
%
  prefix = 'simple';

  fprintf ( 1, '\n' );
  fprintf ( 1, 'ccs_io_test02\n' );
  fprintf ( 1, '  Read a sparse matrix in CCS format from 3 files.\n' );
%
%  Read the header.
%
  [ ncc, n ] = ccs_header_read ( prefix );
%
%  Read the matrix data.
%
  [ icc, ccc, acc ] = ccs_data_read ( prefix, ncc, n );
%
%  Print the matrix.
%
  m = n;
  ccs_print ( m, n, ncc, icc, ccc, acc, '  The matrix in 1-based CCS format:' );

  return
end
