function word_print_test ( )

%*****************************************************************************80
%
%% word_print_test() tests word_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 December 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'word_print_test():\n' );
  fprintf ( 1, '  word_print() prints a polyabolo\n' );
  fprintf ( 1, '  from its boundary word.\n' );

  [ w, p ] = gort_word ( );
  name = 'gort';
  word_print ( w, p, name );

  [ w, p ] = tiny_word ( );
  name = 'tiny';
  word_print ( w, p, name );

  for index = 1 : 14
    [ w, p ] = tetrabolo_word ( index );
    [ gname, fname ] = tetrabolo_name ( index );
    word_print ( w, p, gname );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'word_print_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

