function boundary_word_centroid_test ( )

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

  s = 'rrururullulddldd';
  [ xc, yc ] = boundary_word_centroid ( s );
  fprintf ( 1, '  Polyomino defined by "%s" has centroid (%g,%g)\n', s, xc, yc );

  return
end

