function boundary_word_boundary_plot_test ( )

%*****************************************************************************80
%
%% boundary_word_boundary_plot()_test tests boundary_word_boundary_plot.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 May 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boundary_word_boundary_plot_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  boundary_word_boundary_plot() plots the boundary of a\n' );
  fprintf ( 1, '  polyomino defined by a given boundary word.\n' );
  fprintf ( 1, '\n' );

  for i = 1 : 5
    if ( i == 1 )
      s = 'rrururullulddldd';
    elseif ( i == 2 )
      s = 'rurdrururulurullddlldldd';
    elseif ( i == 3 )
      s = 'rurdruuluulldrdldd';
    elseif ( i == 4 )
      s = 'rurdrdldrdrurulururdrurululdlulurululdldrdldluldldrd';
    else
      s = 'rurdruuuldluldldrd';
    end
    boundary_word_boundary_plot ( s );
    filename = sprintf ( '%s_boundary.png', s );
    print ( '-dpng', filename );
    fprintf ( 1, '  Graphics saved as "%s"\n', filename );
  end

  return
end

