function r8sm_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8SM_TO_R8GE_TEST tests R8SM_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    30 May 2016
%
%  Author:
%
%    John Burkardt
%
  m = 5;
  n = 4;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8SM_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8SM_TO_R8GE converts an R8SM matrix to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  M = %d\n', m );
  fprintf ( 1, '  N = %d\n', n );

  [ a, u, v ] = r8sm_indicator ( m, n );

  r8sm_print ( m, n, a, u, v, '  The R8SM matrix:' );

  a_r8ge = r8sm_to_r8ge ( m, n, a, u, v );

  r8ge_print ( m, n, a_r8ge, '  The R8GE matrix:' );

  return
end
