function r8utp_to_r8ge_test ( )

%*****************************************************************************80
%
%% r8utp_to_r8ge_test() tests r8utp_to_r8ge().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 August 2022
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 4;
 
  fprintf ( 1, '\n' );
  fprintf ( 1, 'r8utp_to_r8ge_test():\n' );
  fprintf ( 1, '  r8utp_to_r8ge() converts an R8UTP matrix to R8GE format.\n' );

  a_utp = r8utp_random ( m, n );

  r8utp_print ( m, n, a_utp, '  The random R8UTP matrix:' );
 
  a_ge = r8utp_to_r8ge ( m, n, a_utp );

  fprintf ( 1, '\n' )
  fprintf ( 1, '  The R8GE matrix:\n' );
  disp ( a_ge )

  return
end
