Commit Graph

674 Commits

Author SHA1 Message Date
Peter Dimov
055587acf4 Update cmake_subdir_test 2023-01-27 17:56:00 +02:00
Christian Mazakas
a3c1e643dc Merge pull request #177 from cmazakas/feature/p2363
Feature/p2363
2022-12-20 10:55:20 -08:00
Christian Mazakas
7572de875c Add transparent insert tests for set containers 2022-12-19 12:46:46 -08:00
Christian Mazakas
8b14b7cddc Add tests for narrow_cast 2022-12-14 10:39:32 -08:00
Christian Mazakas
8b1dcd3da3 Add tests for transparent bucket() 2022-12-13 14:28:19 -08:00
Christian Mazakas
1f4244ec27 Add tests for transparent at() 2022-12-13 14:28:19 -08:00
Christian Mazakas
b85e17085f Add tests for transparent subscript operator 2022-12-13 14:28:19 -08:00
Christian Mazakas
7709950111 Add transparent insert_or_assign() tests 2022-12-13 14:28:19 -08:00
Christian Mazakas
ee1515189b Add transparent tests for unordered_map's try_emplace() 2022-12-13 14:28:19 -08:00
Christian Mazakas
0ab4e12502 Update noexcept tests for new FOA requirements 2022-12-13 13:53:29 -08:00
Christian Mazakas
2043f98593 Add strong exception guarantees around Hash, KeyEqual for move_assign_exception_tests 2022-12-13 13:53:29 -08:00
Christian Mazakas
4ac3dcc90c Update assign_exception_tests to assert strong guarantee around Hash, KeyEqual pairing 2022-12-13 13:53:29 -08:00
Christian Mazakas
75ea43823e Update test Hash, KeyEqual to be nothrow swappable 2022-12-13 13:53:29 -08:00
Christian Mazakas
534170a942 Remove foa-related macro used for relaxing invariant checking in check_equivalent_keys 2022-12-13 13:53:29 -08:00
Christian Mazakas
7befee3bd6 Update swap_exception_tests to exclude FOA containers and add test for throwing asserts when comparing allocators 2022-12-13 13:53:29 -08:00
Christian Mazakas
47e205487d Fix potential integer overflow in test::hash<int> 2022-12-13 09:35:28 -08:00
Christian Mazakas
2c1c99407e Update copy_tests to test a trivially copyable value_type with an Allocator with defined construct() 2022-12-13 09:35:28 -08:00
Christian Mazakas
53a897008a Add conditional masking to silence msvc RTC failures 2022-11-22 10:26:08 -08:00
Christian Mazakas
5aff5b943f Fix Missing CTAD (#169)
* Update deduction tests to include missing guides for set

* Add missing deduction guides for set
2022-11-22 16:39:39 +01:00
Christian Mazakas
c37081b4a2 Add deduction tests for flat containers 2022-11-07 15:55:29 -08:00
Christian Mazakas
2949b37490 Flesh out deduction_tests to include unordered_[multi]set, update to use BOOST_TEST_TRAIT_SAME 2022-11-07 15:55:29 -08:00
Christian Mazakas
4310809025 Implement missing constructors outlined by LWG issue 2713 (#160)
* Harden initializer_list constructor tests

* Add tests for constructors as specified in LWG issue 2713

* Add missing constructors to unordered_flat_map

* Add missing constructors to unordered_flat_set

* Add missing constructors to unordered_[multi]map

* Add missing constructors to unordered_[multi]set
2022-11-05 13:08:29 +01:00
Christian Mazakas
a7156026b3 Fix typo, potential UB in overflow check and refactor to use BOOST_ASSERT_MSG() (#157) 2022-11-02 20:22:17 +02:00
Christian Mazakas
189e551dc7 Add test proving max_load() invariants (#156) 2022-11-01 17:05:18 +01:00
Peter Dimov
d3914d7101 Update hash_is_avalanching_test 2022-10-31 13:27:09 +02:00
Peter Dimov
d0fc14b8c5 Remove C++11 constructs from hash_traits.hpp 2022-10-30 13:40:20 +02:00
Peter Dimov
56b3700683 Add hash_is_avalanching_test.cpp 2022-10-30 12:58:57 +02:00
Peter Dimov
5386033e67 Update cmake_subdir_test 2022-10-29 18:23:59 +03:00
Christian Mazakas
0937f6443c Add rehash_stability() testing to catch erroneous behavior noted from bug #147 2022-10-27 08:17:10 -07:00
Christian Mazakas
1f781a407e Test cleanup 2022-10-24 15:05:49 -07:00
Christian Mazakas
fb1b1dfe2d Add missing copyright updates 2022-10-24 11:31:25 -07:00
Christian Mazakas
6c0d121e5b Update requirements for testing to include support for alignas(N) 2022-10-24 11:17:24 -07:00
Christian Mazakas
955dab4637 Add missing init_type overloads for insert(hint) 2022-10-24 11:17:05 -07:00
Christian Mazakas
375d7157b6 Add tests for missing typedefs in flat containers 2022-10-24 09:54:57 -07:00
Christian Mazakas
01053738eb Rewrite test constraints in terms of config checks 2022-10-24 08:21:54 -07:00
Christian Mazakas
2adab2be61 Fix signed-unsigned comparison warning 2022-10-21 15:37:51 -07:00
Christian Mazakas
e0b680ac29 Update insert(Iterator, Iterator) overloads to use emplace internally instead of insert()'ing 2022-10-21 11:24:34 -07:00
Christian Mazakas
ad1e3a49a5 Update tracking counts to be unsigned in init_type_insert_tests 2022-10-21 11:23:46 -07:00
joaquintides
1d15067ef2 removed sign conversion warnings 2022-10-21 13:14:39 +02:00
joaquintides
8a3e5dd918 added workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480 2022-10-21 11:13:13 +02:00
Christian Mazakas
703f8d1065 Delete boost-level headers as they're no longer considered idiomatic and update all tests to use the test/helpers/unorderd.hpp header where applicable 2022-10-20 15:25:40 -07:00
Christian Mazakas
fe32f153a2 Add draft of insert(init_type&&) for unordered_flat_map 2022-10-20 14:59:33 -07:00
Christian Mazakas
0ac4aeca50 Add swap_exception_tests for FOA, only testing weak exception guarantee 2022-10-19 11:05:09 -07:00
Christian Mazakas
776935f24d Reintroduce strong guarantee checking 2022-10-19 11:04:38 -07:00
Christian Mazakas
4de1be8911 Add the rest of the exception tests sans swap 2022-10-18 15:54:02 -07:00
Christian Mazakas
46065065be Temporarily disable strong checks for FOA 2022-10-18 15:54:02 -07:00
Christian Mazakas
0d6ebb4d2f Add copy_exception_tests for FOA 2022-10-17 13:27:36 -07:00
Christian Mazakas
aa41ab4195 Add constructor_exception tests for FOA 2022-10-17 13:19:29 -07:00
Christian Mazakas
9da61e9050 Add post_move_tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
1de8801c08 Add scary_tests 2022-10-14 13:37:26 -07:00