function r8sto_to_r8ge_test ( )

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

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8STO_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8STO_TO_R8GE converts a matrix from R8STO to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  seed = 123456789;
  [ a_r8sto, seed ] = r8sto_random ( n, seed );
  r8sto_print ( n, a_r8sto, '  The R8STO matrix:' );

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

  return
end
