function vector_test ( )

%*****************************************************************************80
%
%% vector_test() tests vector().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 October 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../vector' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vector_test():\n' );
  fprintf ( 1, '  Test vector()\n' );

  vector_multiplicity_test ( );
  vector_random_test ( );

  vector_lex_next_test ( );
  vector_lex_rank_test ( );
  vector_lex_unrank_test ( );

  monotone_vector_next_test ( );
  monotone_vector_random_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vector_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  timestamp ( );

  rmpath ( '../vector' );

  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

