function polyiamonds_test ( )

%*****************************************************************************80
%
%% polyiamonds_test tests polyiamonds().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 August 2020
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../polyiamonds' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyiamonds_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  Test polyiamonds().\n' );

  boundary_word_is_legal_test ( );

  hexiamond_name_test ( );
  hexiamond_triangle_ijk_test ( );
  hexiamond_vertex_ij_test ( );

  ij_to_xy_test ( );
  ijk_to_xy_test ( );

  point_in_polygon_test ( );

  polyiamond_free_enumerate_test ( );
  polyiamond_grid_plot_test ( );
  polyiamond_plot_test ( );
  polyiamond_region_plot_test ( );

  triangle_ijk_fill_test ( );
  triangle_ijk_in_region_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyiamonds_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../polyiamonds' );

  return
end
