function polygon_inrad_data_test ( )

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

  for n = 3 : 5

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

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

  end

  return
end
