function r8vec_lt_test ( )

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

  n = 3;

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

  value = r8vec_lt ( n, v1, v2 );

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

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

  value = r8vec_lt ( n, v1, v2 );

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

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

  value = r8vec_lt ( n, v1, v2 );

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

  return
end
