function vertex_range_test ( )

%*****************************************************************************80
%
%% vertex_range_test tests vertex_range().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vertex_range_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  vertex_range() finds the minimum and maximum I and J\n' );
  fprintf ( 1, '  coordinates of a polyiamond drawn from its vertex list.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '        Name  Imin  Imax  Jmin  Jmax\n' );
  fprintf ( 1, '\n' );

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

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

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

  return
end

