Lines Matching refs:nh

77     node_type nh;  in test_node_handle()  local
78 REQUIRE_MESSAGE(nh.empty(), "Node handle: node_type object is not empty after default ctor"); in test_node_handle()
84 nh = test_table.unsafe_extract(test_table.begin()); in test_node_handle()
85 …REQUIRE_MESSAGE(!nh.empty(), "Node handle: node_type object is empty after valid move assignment"); in test_node_handle()
86 …REQUIRE_MESSAGE(nh.get_allocator() == test_table.get_allocator(), "Node handle: node_type object a… in test_node_handle()
87 REQUIRE_MESSAGE(compare_handle_getters(nh, expected_value), in test_node_handle()
91 node_type nh2(std::move(nh)); in test_node_handle()
92 REQUIRE_MESSAGE(nh.empty(), "Node handle: moved-from node_type object is not empty"); in test_node_handle()
205 typename Container::node_type nh; in test_insert_overloads() local
208 auto result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
215 nh = generate_node_handle<Container>(value); in test_insert_overloads()
217 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
218 REQUIRE_MESSAGE(nh.empty(), "Insert: Not empty node handle after successful insertion"); in test_insert_overloads()
222 nh = generate_node_handle<Container>(value); in test_insert_overloads()
223 result = table_to_insert.insert(hint..., std::move(nh)); in test_insert_overloads()
228 REQUIRE_MESSAGE(nh.empty(), "Insert: Failed insertion to multitable"); in test_insert_overloads()
230 REQUIRE_MESSAGE(!nh.empty(), "Insert: Empty node handle after failed insertion"); in test_insert_overloads()
231 REQUIRE_MESSAGE(compare_handle_getters(nh, value), in test_insert_overloads()
250 auto nh = table_for_extract.unsafe_extract(new_key); in test_extract() local
251 …REQUIRE_MESSAGE(nh.empty(), "Extract: node handle is not empty after extraction of key which is no… in test_extract()
258 nh = table_for_extract.unsafe_extract(key); in test_extract()
259 REQUIRE_MESSAGE(!nh.empty(), "Extract: node handle is empty after successful extraction"); in test_extract()
260 …REQUIRE_MESSAGE(compare_handle_getters(nh, expected_value), "Extract: node handle contains wrong n… in test_extract()
268 nh = table_for_extract.unsafe_extract(table_for_extract.cbegin()); in test_extract()
269 REQUIRE_MESSAGE(!nh.empty(), "Extract: node handle is empty after successful extraction"); in test_extract()
270 …REQUIRE_MESSAGE(compare_handle_getters(nh, expected_value2), "Extract: node handle contains wrong … in test_extract()