function r8ge_to_r8vm_test ( )

%*****************************************************************************80
%
%% R8GE_TO_R8VM_TEST tests R8GE_TO_R8VM.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 September 2015
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 4;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8GE_TO_R8VM_TEST\n' );
  fprintf ( 1, '  R8GE_TO_R8VM converts an R8GE matrix to R8VM format.\n' );

  [ a_ge, seed ] = r8ge_random ( m, n, seed );

  r8ge_print ( m, n, a_ge, '  The random R8GE matrix:' );
 
  a_vm = r8ge_to_r8vm ( m, n, a_ge );

  r8vm_print ( m, n, a_vm, '  The R8VM matrix:' );

  return
end
