function boundary_word_hexagon_test ( )

%*****************************************************************************80
%
%% boundary_word_hexagon_test() tests boundary_word_hexagon().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 June 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../boundary_word_hexagon' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boundary_word_hexagon_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  boundary_word_hexagon() is a library of boundary word functions\n' );
  fprintf ( 1, '  for polyhexes, shapes defined on a grid of hexagons.\n' );

  boundary_is_legal_test ( );
  boundary_plot_test ( );
  boundary_print_test ( );
  boundary_range_test ( );
  boundary_reflect_test ( );
  boundary_representative_test ( );
  boundary_rotate_test ( );
  boundary_snap_test ( );
  boundary_sort_test ( );
  boundary_to_edge_test ( );
  boundary_to_vertex_test ( );
  boundary_translate_test ( );

  grid_plot_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boundary_word_hexagon_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../boundary_word_hexagon' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

