function r8ri_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8RI_TO_R8GE_TEST tests R8RI_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    08 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  nz = 11;
  ija = [ ...
     7,  8,  8, 10, 11, ...
    12,  3,  2,  4,  5, ...
     4 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8RI_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8RI_TO_R8GE converts an R8RI matrix to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
  fprintf ( 1, '  Storage NZ =     %d\n', nz );

  a = r8ri_indicator ( n, nz, ija );

  r8ri_print ( n, nz, ija, a, '  The R8RI matrix:' );

  a_r8ge = r8ri_to_r8ge ( n, nz, ija, a );

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

  return
end
