function r8sm_random_test ( )

%*****************************************************************************80
%
%% R8SM_RANDOM_TEST tests R8SM_RANDOM.
%
%  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_RANDOM_TEST\n' );
  fprintf ( 1, '  R8SM_RANDOM sets up an R8SM random matrix;\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  M = %d\n', m );
  fprintf ( 1, '  N = %d\n', n );

  seed = 123456789;
  [ a, u, v, seed ] = r8sm_random ( m, n, seed );

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

  return
end
