function i4_to_l4vec_test ( )

%*****************************************************************************80
%
%% I4_TO_L4VEC_TEST tests I4_TO_L4VEC. 
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 November 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4_TO_L4VEC_TEST\n' );
  fprintf ( 1, '  I4_TO_L4VEC converts an I4 to an L4VEC.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  I4   L4VEC\n' );
  fprintf ( 1, '\n' );

  n = 8;

  for i4 = 0 : 10

    l4vec = i4_to_l4vec ( i4, n );
    fprintf ( 1, '  %2d: ', i4 );
    for j = 1 : n
      fprintf ( 1, ' %1d', l4vec(j) );
    end
    fprintf ( 1, '\n' );

  end

  return
end
