function edge_range_test ( )

%*****************************************************************************80
%
%% edge_range_test tests edge_range().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'edge_range_test\n' );
  fprintf ( 1, '  edge_range() finds the minimum and maximum I and J\n' );
  fprintf ( 1, '  coordinates of a polyiamond drawn from its edge list.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '        Name  Imin  Imax  Jmin  Jmax\n' );
  fprintf ( 1, '\n' );

  name = 'tiny';
  w = edge_tiny ( );
  [ imin, imax, jmin, jmax ] = edge_range ( w );
  fprintf ( 1, '  %10s  %4d  %4d  %4d  %4d\n', ...
    name, imin, imax, jmin, jmax );

  for k = 1 : 12
    name = name_hexiamond ( k );
    w = edge_hexiamond ( k );
    [ imin, imax, jmin, jmax ] = edge_range ( w );
    fprintf ( 1, '  %10s  %4d  %4d  %4d  %4d\n', ...
      name, imin, imax, jmin, jmax );
  end

  name = 'gort';
  w = edge_gort ( );
  [ imin, imax, jmin, jmax ] = edge_range ( w );
  fprintf ( 1, '  %10s  %4d  %4d  %4d  %4d\n', ...
    name, imin, imax, jmin, jmax );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'edge_range_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

