function hexiamond_triangle_ijk_test ( )

%*****************************************************************************80
%
%% hexiamond_triangle_ijk_test tests hexiamond_triangle_ijk().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 September 2020
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'hexiamond_triangle_ijk_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  hexiamond_triangle_ijk() returns the IJK\n' );
  fprintf ( 1, '  parallelogram triangle coordinates of the triangles\n' );
  fprintf ( 1, '  that make up a hexiamond, given its index between 1 and 12.\n' );

  for k = 1 : 12
    name = hexiamond_name ( k );
    p = hexiamond_triangle_ijk ( k );
    polyiamond_triangle_print ( p, name );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'hexiamond_triangle_ijk_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  return
end
