function i4_to_angle_test ( )

%*****************************************************************************80
%
%% I4_TO_ANGLE_TEST tests I4_TO_ANGLE. 
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 May 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4_TO_ANGLE_TEST\n' );
  fprintf ( 1, '  I4_TO_ANGLE converts an I4 to an angle in degrees.\n' );
  fprintf ( 1, '  The angles sample the circle at finer levels.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  I4   ANGLE\n' );
  fprintf ( 1, '\n' );

  for i4 = 0 : 15

    angle = i4_to_angle ( i4 );
    fprintf ( 1, '  %2d  %14.6g\n', i4, angle );

  end

  return
end
