function hexiamond_name_test ( )

%*****************************************************************************80
%
%% hexiamond_name_test tests hexiamond_name.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 August 2020
%
%  Author:
%
%    John Burkardt
%
  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'hexiamond_name_test\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  hexiamond_name 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 = hexiamond_name ( k );
    fprintf ( 1, '  %5d      "%s"\n', k, name );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'hexiamond_name_test\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  return
end
