function i4_bit_lo1_test ( )

%*****************************************************************************80
%
%% i4_bit_lo1_test() tests i4_bit_lo1().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 April 2009
%
%  Author:
%
%    John Burkardt
%
  test_num = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4_bit_lo1_test():\n' );
  fprintf ( 1, '  i4_bit_lo1() returns the location of the low 1 bit.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       I  I4_BIT_LO1(I)\n' );
  fprintf ( 1, '\n' );

  for test = 1 : test_num
    i = randi ( [ 0, 100 ], 1 );
    j = i4_bit_lo1 ( i );
    fprintf ( 1, '  %6d  %6d\n', i, j );
  end

  return
end
