function r8ccs_to_r8ge_test ( )

%*****************************************************************************80
%
%% r8ccs_to_r8ge_test() tests r8ccs_to_r8ge().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    02 October 2015
%
%  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_to_r8ge_test():\n' );
  fprintf ( 1, '  r8ccs_to_r8ge() converts a matrix from r8ccs to r8ge format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix rows M     = ', m );
  fprintf ( 1, '  Matrix columns N  = ', n );
  fprintf ( 1, '  Nonzeros NZ_NUM   = ', nz_num );

  a_r8ccs = r8ccs_indicator ( m, n, nz_num, colptr, rowind );

  r8ccs_print ( m, n, nz_num, colptr, rowind, a_r8ccs, '  The r8ccs matrix:' );

  a_r8ge = r8ccs_to_r8ge ( m, n, nz_num, colptr, rowind, a_r8ccs );

  r8ge_print ( m, n, a_r8ge, '  The R8GE matrix:' );

  return
end
