function r83_random_test ( )

%*****************************************************************************80
%
%% r83_random_test() tests r83_random().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 September 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R83_RANDOM_TEST\n' );
  fprintf ( 1, '  R83_RANDOM randomizes an R83 matrix.\n' );
  fprintf ( 1, '  We check three cases, M<N, M=N, M>N.\n' );

  for i = 1 : 3

    if ( i == 1 )
      m = 3;
      n = 5;
    elseif ( i == 2 )
      m = 5;
      n = 5;
    elseif ( i == 3 )
      m = 5;
      n = 3;
    end

    a = r83_random ( m, n );
    r83_print ( m, n, a, '  Random R83 matrix:' );

  end

  return
end
