function polygon_outrad_data_test ( )

%*****************************************************************************80
%
%% POLYGON_OUTRAD_DATA_TEST tests POLYGON_OUTRAD_DATA.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    15 October 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'POLYGON_OUTRAD_DATA_TEST\n' );
  fprintf ( 1, '  POLYGON_OUTRAD_DATA uses the outradius of a regular polygon\n' );
  fprintf ( 1, '  to determine the area, inradius, and sidelength.\n' );

  for n = 3 : 5

    fprintf ( 1, '\n' );
    fprintf ( 1, '  Number of polygonal sides = %d\n', n );

    radout = 1.0;
    fprintf ( 1, '\n' );
    fprintf ( 1, '  Assuming RADOUT = %g\n', radout );
    [ area, radin, side ] = polygon_outrad_data ( n, radout );
    fprintf ( 1, '    AREA =   %g\n', area );
    fprintf ( 1, '    RADIN =  %g\n', radin );
    fprintf ( 1, '    SIDE =   %g\n', side );

  end

  return
end
