hash_deque_test.cpp 741 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright 2005-2009 Daniel James.
  2. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  3. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. #include "./config.hpp"
  5. #ifdef BOOST_HASH_TEST_EXTENSIONS
  6. # ifdef BOOST_HASH_TEST_STD_INCLUDES
  7. # include <functional>
  8. # else
  9. # include <boost/container_hash/hash.hpp>
  10. # endif
  11. #endif
  12. #include <boost/core/lightweight_test.hpp>
  13. #ifdef BOOST_HASH_TEST_EXTENSIONS
  14. #include <deque>
  15. using std::deque;
  16. #define CONTAINER_TYPE deque
  17. #include "./hash_sequence_test.hpp"
  18. #endif // BOOST_HASH_TEST_EXTENSIONS
  19. int main()
  20. {
  21. #ifdef BOOST_HASH_TEST_EXTENSIONS
  22. deque_tests::deque_hash_integer_tests();
  23. #endif
  24. return boost::report_errors();
  25. }