Commit Graph
485 Commits
Author SHA1 Message Date
Christian Mazakas 6e41418744 Reinstate insert_tests 2023-01-30 13:55:50 -08:00
Christian Mazakas 1d8d065113 Update interim prototype to eschew allocator wrapper and instead use extended map_types 2023-01-30 13:55:50 -08:00
Christian Mazakas 721d8713cd Extend insert_tests to test unordered_node_map wherever unordered_flat_map is also tested 2023-01-30 13:55:50 -08:00
Christian Mazakas 62e1d3eafb Remove bad static_assert() from insert_tests 2023-01-30 13:55:50 -08:00
Christian Mazakas f034e43b74 Get simple prototype of insert_tests working for unordered_node_map 2023-01-30 13:55:50 -08: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 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 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 56b3700683 Add hash_is_avalanching_test.cpp 2022-10-30 12:58:57 +02: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 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 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 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
Christian Mazakas 14c190223c Add scoped_allocator tests 2022-10-14 13:37:26 -07:00
Christian Mazakas e3c91ad812 Add erase_if tests 2022-10-14 13:37:26 -07:00
Christian Mazakas 454cb24cc8 Ease test requiremets for erase_if, require copyability now of supplied predicate 2022-10-14 13:37:26 -07:00
Christian Mazakas 5e24f6ef22 Add reserve_tests 2022-10-14 13:37:26 -07:00
Christian Mazakas d02d4094e6 Add merge_tests 2022-10-14 13:37:26 -07:00
Christian Mazakas d538f6184c Add equivalent_keys_tests 2022-10-13 11:59:44 -07:00
Christian Mazakas c39ed8a5cf Add simple_tests 2022-10-12 15:19:11 -07:00
Christian Mazakas d4f7939aae Add incomplete_test 2022-10-12 14:30:07 -07:00
Christian Mazakas fc7b5573c1 Add link_test 2022-10-12 14:05:25 -07:00
Christian Mazakas 4399e8b360 Add noexcept tests 2022-10-12 13:39:23 -07:00
Christian Mazakas 3f9bd00f01 Add compile_map tests 2022-10-12 13:37:12 -07:00
Christian Mazakas 05b3025c0e Fix regression in how the table_iterator defines its reference type 2022-10-12 08:58:32 -07:00
Christian Mazakas 4a8d687778 Add compile_set tests with stub for merge() 2022-10-11 15:21:10 -07:00