function r8vec_gt_test ( )

%*****************************************************************************80
%
%% R8VEC_GT_TEST tests R8VEC_GT.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    04 August 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_GT_TEST:\n' );
  fprintf ( 1, '  R8VEC_GT determines if R8VEC V1 is greater than V2.\n' );

  n = 3;

  v1 = [ 1.0; 2.0; 3.0 ];
  v2 = [ 0.0; 5.0; 10.0 ];
  r8vec2_print ( v1, v2, '  V1 and V2:' );

  value = r8vec_gt ( n, v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  V1 GT V2? = %d\n', value );

  v1 = [ 1.0; 2.0; 3.0 ];
  v2 = [ 1.0; 2.0; 3.0 ];
  r8vec2_print ( v1, v2, '  V1 and V2:' );

  value = r8vec_gt ( n, v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  V1 GT V2? = %d\n', value );

  v1 = [ 1.0; 2.0; 3.0 ];
  v2 = [ 1.0; 3.0; 0.0 ];
  r8vec2_print ( v1, v2, '  V1 and V2:' );

  value = r8vec_gt ( n, v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  V1 GT V2? = %d\n', value );

  return
end
