function constants_test ( )

%*****************************************************************************80
%
%% constants_test() tests constants().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 May 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../persistence' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'constants_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test constants(), with the interface:\n' );
  fprintf ( 1, '    [g,c,h] = constants()\n' );
  fprintf ( 1, '\n' );

  [ g, c, h ] = constants ( );
  fprintf ( 1, '    %g, %g, %g = constants ( );\n', g, c, h );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'constants_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../persistence' );

  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

