function i4_bit_lo0_test ( )

%*****************************************************************************80
%
%% i4_bit_lo0_test() tests i4_bit_lo0().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 April 2009
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4_bit_lo0_test():\n' );
  fprintf ( 1, '  i4_bit_lo0() returns the location of the low 0 bit.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '     I     I4_BIT_LO0(I)\n' );
  fprintf ( 1, '\n' );

  for test = 1 : 10

    i = randi ( [ 0, 100 ], 1 );

    j = i4_bit_lo0 ( i );

    fprintf ( 1, '%6d %6d\n', i, j );

  end 

  return
end
