2005-04-01 16:58:09 +00:00
|
|
|
|
2008-03-27 23:38:01 +00:00
|
|
|
// Copyright 2005-2008 Daniel James.
|
2007-08-24 01:05:36 +00:00
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
2005-04-01 16:58:09 +00:00
|
|
|
|
2005-04-07 21:57:22 +00:00
|
|
|
#include "./config.hpp"
|
|
|
|
|
|
|
|
#ifdef TEST_EXTENSIONS
|
|
|
|
# ifdef TEST_STD_INCLUDES
|
|
|
|
# include <functional>
|
|
|
|
# else
|
2006-02-09 19:01:33 +00:00
|
|
|
# include <boost/functional/hash.hpp>
|
2005-04-07 21:57:22 +00:00
|
|
|
# endif
|
|
|
|
#endif
|
2005-04-01 16:58:09 +00:00
|
|
|
|
2008-04-17 07:39:24 +00:00
|
|
|
#include <boost/test/minimal.hpp>
|
2005-04-01 16:58:09 +00:00
|
|
|
|
2005-04-07 21:57:22 +00:00
|
|
|
#ifdef TEST_EXTENSIONS
|
|
|
|
|
2005-04-01 16:58:09 +00:00
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
using std::vector;
|
|
|
|
#define CONTAINER_TYPE vector
|
|
|
|
#include "./hash_sequence_test.hpp"
|
2005-04-07 21:57:22 +00:00
|
|
|
|
|
|
|
#endif // TEST_EXTENSIONS
|
2006-02-09 19:16:08 +00:00
|
|
|
|
2008-04-17 07:39:24 +00:00
|
|
|
int test_main(int, char**)
|
2006-02-09 19:16:08 +00:00
|
|
|
{
|
|
|
|
#ifdef TEST_EXTENSIONS
|
|
|
|
vector_tests::vector_hash_integer_tests();
|
|
|
|
#endif
|
|
|
|
|
2008-04-17 07:39:24 +00:00
|
|
|
return 0;
|
2006-02-09 19:16:08 +00:00
|
|
|
}
|