function r8ss_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8SS_TO_R8GE_TEST tests R8SS_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 June 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8SS_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8SS_TO_R8GE converts an R8SS matrix to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  seed = 123456789;
  [ na, diag, a, seed ] = r8ss_random ( n, seed );

  r8ss_print ( n, na, diag, a, '  The R8SS matrix:' );

  a_r8ge = r8ss_to_r8ge ( n, na, diag, a );

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

  return
end
