function border_plot_test ( )

%*****************************************************************************80
%
%% border_plot_test() tests border_plot().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 March 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'border_plot_test():\n' );
  fprintf ( 1, '  border_plot() plots the border of an Eternity object.\n' );

  [ w, p_ij ] = eternity_word ( );
  p_xy = p_ij;
  v = word_to_vertex_xy ( w, p_xy );
  label = 'border: eternity';
  filename = 'eternity_border.png';
  border_plot ( v, label, filename );

  [ w, p_ij ] = hexagon_word ( );
  p_xy = p_ij;
  v = word_to_vertex_xy ( w, p_xy );
  label = 'border: hexagon';
  filename = 'hexagon_border.png';
  border_plot ( v, label, filename );

  [ w, p_ij ] = hexagon3_word ( );
  p_xy = p_ij;
  v = word_to_vertex_xy ( w, p_xy );
  label = 'border: hexagon3';
  filename = 'hexagon3_border.png';
  border_plot ( v, label, filename );

  nx = 4;
  ny = 5;
  [ w, p_ij ] = rectangle_word ( nx, ny );
  p_xy = p_ij;
  v = word_to_vertex_xy ( w, p_xy );
  label = 'border: rectangle 4x5';
  filename = 'rectangle_4x5_border.png';
  border_plot ( v, label, filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'border_plot_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

