function boundary_word_check_test ( )

%*****************************************************************************80
%
%% boundary_word_check_test() tests boundary_word_check().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 May 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boundary_word_check_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  boundary_word_check() checks that a boundary word is valid.\n' );
  fprintf ( 1, '\n' );

  s = 'rrudururullulddldd';
  check = boundary_word_check ( s );
  fprintf ( 1, '  boundary word "%s" check is %s\n', s, mat2str ( check ) );

  s = 'rrururullulddldd';
  check = boundary_word_check ( s );
  fprintf ( 1, '  boundary word "%s" check is %s\n', s, mat2str ( check ) );
  
  s = 'rrururullulldldd';
  check = boundary_word_check ( s );
  fprintf ( 1, '  boundary word "%s" check is %s\n', s, mat2str ( check ) );

  s = 'rrururullwlldldd';
  check = boundary_word_check ( s );
  fprintf ( 1, '  boundary word "%s" check is %s\n', s, mat2str ( check ) );

  return
end

