function name_hexiamond_test ( )

%*****************************************************************************80
%
%% name_hexiamond_test tests hexiamond_name.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 November 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'name_hexiamond_test\n' );
  fprintf ( 1, '  name_hexiamond() returns the "name" of a hexiamond,\n' );
  fprintf ( 1, '  given its index between 1 and 12.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Index     Name\n' );
  fprintf ( 1, '\n' );

  for k = 0 : 13
    name = name_hexiamond ( k );
    fprintf ( 1, '  %5d      "%s"\n', k, name );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'name_hexiamond_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

