function triangle_print_test ( )

%*****************************************************************************80
%
%% triangle_print_test tests triangle_print().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_print_test\n' );
  fprintf ( 1, '  triangle_print() prints a polyiamond from its triangles.\n' );

  for k = 1 : 3 : 12
    t = triangle_hexiamond ( k );
    name = name_hexiamond ( k );
    name = [ '  ', name ];
    triangle_print ( t, name );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'triangle_print_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

