function r8mat_orth_uniform_test ( )

%*****************************************************************************80
%
%% R8MAT_ORTH_UNIFORM_TEST tests R8MAT_ORTH_UNIFORM.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    03 July 2017
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;

  fprintf ( 1, '\n' )
  fprintf ( 1, 'R8MAT_ORTH_UNIFORM_TEST\n' )
  fprintf ( 1, '  R8SYMM_ORTH_UNIFORM generates a random orthogopnal matrix.\n' )

  [ q, seed ] = r8mat_orth_uniform ( n, seed );

  r8mat_print ( n, n, q, '  The matrix Q:' );

  qtq = q' * q;
  
  r8mat_print ( n, n, qtq, '  The matrix Q''Q:' )

  return
end
