function eternity_hexity_test ( )

%*****************************************************************************80
%
%% eternity_hexity_test() tests eternity_hexity().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 March 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../eternity' );
  addpath ( '../hexity' );
  addpath ( '../trinity' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'eternity_hexity_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  eternity_hexity() evaluates a six-fold parity associated\n' );
  fprintf ( 1, '  with Eternity puzzle objects.\n' );

  hexity_reflect_test ( );
  hexity_rotate_test ( );
  trinity_hexity_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'eternity_hexity_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../trinity' );
  rmpath ( '../hexity' );
  rmpath ( '../eternity' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

