function boundary_word_perimeter_test ( )

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

  s = 'rrururullulddldd';
  perimeter = boundary_word_perimeter ( s );
  fprintf ( 1, '  Polyomino defined by "%s" has perimeter %d\n', s, perimeter );

  return
end

