function r8ltt_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8LTT_TO_R8GE_TEST tests R8LTT_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 November 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8LTT_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8LTT_TO_R8GE converts an R8LTT matrix to R8GE format.\n' );

  [ a_ltt, seed ] = r8ltt_random ( n, seed );

  r8ltt_print ( n, a_ltt, '  The random R8LTT matrix:' );
 
  a_ge = r8ltt_to_r8ge ( n, a_ltt );

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

  return
end
