function r8to_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8TO_TO_R8GE_TEST tests R8TO_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 September 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8TO_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8TO_TO_R8GE converts a matrix from R8TO to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
%
%  Set the matrix.
%
  seed = 123456789;
  [ a_r8to, seed ] = r8to_random ( n, seed );

  r8to_print ( n, a_r8to, '  The R8TO matrix:' );

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

  return
end
