function i4vec_le_test ( )

%*****************************************************************************80
%
%% i4vec_le_test tests i4vec_le.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    25 October 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4vec_le_test:\n' );
  fprintf ( 1, '  i4vec_le determines if V1 is less than or equal to V2,\n' );
  fprintf ( 1, '  using lexical order, for the i4vec data type.\n' );

  n = 3;

  v1 = [ 1; 2; 3 ];
  v2 = [ 0; 5; 10 ];
  i4vec2_print ( v1, v2, '  V1 and V2:' );

  value = i4vec_le ( v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  V1 <= V2? = %s\n', boolean_to_string ( value ) );

  v1 = [ 1; 2; 3 ];
  v2 = [ 1; 2; 3 ];
  i4vec2_print ( v1, v2, '  V1 and V2:' );

  value = i4vec_le ( v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  V1 <= V2? = %s\n', boolean_to_string ( value ) );

  v1 = [ 1; 2; 3 ];
  v2 = [ 1; 3; 0 ];
  i4vec2_print ( v1, v2, '  V1 and V2:' );

  value = i4vec_le ( v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  V1 <= V2? = %s\n', boolean_to_string ( value ) );

  return
end
