function r8ge_to_r8po_test ( )

%*****************************************************************************80
%
%% R8GE_TO_R8PO_TEST tests R8GE_TO_R8PO.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 August 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8GE_TO_R8PO_TEST\n' );
  fprintf ( 1, '  R8GE_TO_R8PO converts an R8GE matrix to R8PO format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  [ a, seed ] = r8ge_random ( n, n, seed );

  r8ge_print ( n, n, a, '  The random R8GE matrix:' );
 
  b = r8ge_to_r8po ( n, a );

  r8po_print ( n, b, '  The R8PO matrix:' );

  return
end
