function r8_radians_test ( )

%*****************************************************************************80
%
%% R8_RADIANS_TEST tests R8_RADIANS.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    31 July 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8_RADIANS_TEST\n' );
  fprintf ( 1, '  R8_RADIANS converts an angle from degrees\n' );
  fprintf ( 1, '  to radians;\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Degrees     Radians     Degrees\n' );
  fprintf ( 1, '\n' );

  for i = -2 : 14
    angle_deg = 30 * i;
    angle_rad = r8_radians ( angle_deg );
    angle_deg2 = r8_degrees ( angle_rad );
    fprintf ( 1, '  %10f  %10f  %10f\n', angle_deg, angle_rad, angle_deg2 );
  end

  return
end
