function word_translate_test ( )

%*****************************************************************************80
%
%% word_translate_test() tests word_translate().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 March 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'word_translate_test():\n' );
  fprintf ( 1, '  word_translate() takes the boundary word of an object\n' );
  fprintf ( 1, '  and a shift vector S, and returns the boundary\n' );
  fprintf ( 1, '  word of the object after translation by S.\n' );

  k = 1;
  [ w, p_xy ] = eternity_tile_word ( k );
  label = '  Boundary word for tile001:';
  word_print ( w, p_xy, label );

  s = [ 2.0; 5.0 ];
  [ w2, p2_xy ] = word_translate ( w, p_xy, s );
  label = sprintf ( 'After shift by [%g;%g]:', s );
  word_print ( w2, p2_xy, label );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'word_translate_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

