function i4_to_a_test ( )

%*****************************************************************************80
%
%% i4_to_a_test() tests i4_to_a().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 January 2007
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'i4_to_a_test():\n' );
  fprintf ( 1, '  i4_to_a() converts I => Alphabetic character\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  1:26 = A:Z\n' );
  fprintf ( 1, '  27:52 = a:z\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '   I  ==>  A  ==>  I\n' );
  fprintf ( 1, '\n' );

  for i4 = 0 : 3 : 55
 
    a = i4_to_a ( i4 );
    j4 = a_to_i4 ( a );

    fprintf ( 1, '  %8d  "%c"  %8d\n', i4, a, j4 );
 
  end

  return
end
