Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame^] | 1 | |
| 2 | // Copyright 2005-2009 Daniel James. |
| 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | #include "./config.hpp" |
| 7 | |
| 8 | #ifdef BOOST_HASH_TEST_EXTENSIONS |
| 9 | # ifdef BOOST_HASH_TEST_STD_INCLUDES |
| 10 | # include <functional> |
| 11 | # else |
| 12 | # include <boost/functional/hash.hpp> |
| 13 | # endif |
| 14 | #endif |
| 15 | |
| 16 | #include <boost/detail/lightweight_test.hpp> |
| 17 | |
| 18 | #ifdef BOOST_HASH_TEST_EXTENSIONS |
| 19 | |
| 20 | #include <vector> |
| 21 | |
| 22 | using std::vector; |
| 23 | #define CONTAINER_TYPE vector |
| 24 | #include "./hash_sequence_test.hpp" |
| 25 | |
| 26 | #endif // BOOST_HASH_TEST_EXTENSIONS |
| 27 | |
| 28 | int main() |
| 29 | { |
| 30 | #ifdef BOOST_HASH_TEST_EXTENSIONS |
| 31 | vector_tests::vector_hash_integer_tests(); |
| 32 | #endif |
| 33 | |
| 34 | return ndnboost::report_errors(); |
| 35 | } |