diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index c8c567ae..4f7a537f 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -143,6 +143,7 @@ build_foa scary_tests ; build_foa init_type_insert_tests ; build_foa max_load_tests ; build_foa extract_tests ; +build_foa node_handle_tests ; run unordered/hash_is_avalanching_test.cpp ; diff --git a/test/unordered/node_handle_tests.cpp b/test/unordered/node_handle_tests.cpp index 89648d0f..9787d83a 100644 --- a/test/unordered/node_handle_tests.cpp +++ b/test/unordered/node_handle_tests.cpp @@ -1,12 +1,12 @@ // Copyright 2016 Daniel James. +// Copyright 2023 Christian Mazakas // 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) #include "../helpers/postfix.hpp" #include "../helpers/prefix.hpp" -#include -#include +#include "../helpers/unordered.hpp" #include "../helpers/helpers.hpp" #include "../helpers/metafunctions.hpp" @@ -17,15 +17,19 @@ #include #include -UNORDERED_AUTO_TEST (example1) { - typedef boost::unordered_map::insert_return_type - insert_return_type; +template