function a_to_i4_test ( )

%*****************************************************************************80
%
%% a_to_i4_test() tests a_to_i4().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 January 2007
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'a_to_i4_test():\n' );
  fprintf ( 1, '  a_to_i4() converts Alphabetic character => I\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
