Commit Graph
410 Commits
Author SHA1 Message Date
Christian Mazakas a8b0e19a33 Update rehashing tests to better stress test them for conformity with libc++ and other STL implementations 2022-09-13 12:33:21 -07:00
Christian Mazakas 9ebb705e75 Update noexcept_tests to cover both values of POCMA and to also test move-assigning into larger and smaller hash tables 2022-09-12 13:16:45 -07:00
Christian Mazakas 48765e82e0 Update tests to account for a default-constructed container having no buckets 2022-08-30 15:20:31 -07:00
Christian Mazakas 7b41f4783f Update value type used by test allocators in move_tests so that the STL containers can be swapped in 2022-08-17 14:12:29 -07:00
Christian Mazakas 7227cfc68a Add post-move tests to verify the container is valid after a move 2022-08-17 14:12:29 -07:00
Christian Mazakas 3df902af23 Pull prime_fmod_size into its own dedicated header, update #include list for fca.hpp and prime_fmod_test.hpp 2022-06-30 13:07:11 -07:00
joaquintides e466232757 bypassed check in GCC<=4.6 (boost::is_nothrow_swappable not properly supported) 2022-06-28 09:27:15 +02:00
joaquintides 9661227d00 Merge remote-tracking branch 'remotes/origin/bugfix/gcc-4-7-scoped_allocator' into bugfix/gcc-4-7 2022-06-27 20:39:07 +02:00
joaquintides 95524a6af4 bypassed scoped_allocator test for GCC 4.7 and prior 2022-06-27 19:58:22 +02:00
joaquintides d4b61541b5 used proper Boost.Config macro 2022-06-27 19:31:47 +02:00
joaquintides dfac93aebb workaround for lack of ref-qualified memfun support in GCC<=4.7 2022-06-27 19:21:34 +02:00
joaquintides fb733483c6 made fast_modulo universally available in 64 bits and never used in 32 bits 2022-06-26 19:13:54 +02:00
Peter Dimov d204b9b408 Remove unnecessary include 2022-06-25 01:17:50 +03:00
Peter Dimov c53e0228c5 Check BOOST_UNORDERED_FCA_HAS_64B_SIZE_T in the 32 bit case as well 2022-06-25 01:16:32 +03:00
Christian Mazakas f00a29d3df Add tests for the internal prime_fmod_size policy 2022-06-24 11:09:38 -07:00
Christian Mazakas 110c5dcf10 Remove unnecessary test files due to FCA refactor 2022-06-01 11:49:09 -07:00
Christian Mazakas 37f5a462e4 Update reserve_tests to handle the space requirements for new FCA implementation 2022-06-01 11:49:09 -07:00
Christian Mazakas a1fb756831 Fix bug in rebind semantics for test allocator in reserve_tests 2022-06-01 11:49:09 -07:00
Christian Mazakas 2ae686c366 Add tests for testing the SCARY-ness of iterators 2022-06-01 11:49:09 -07:00
Christian Mazakas 55d4aaeef5 Update node_handle_tests to prove that nodes can be safely transferred between plain maps/sets and their multi- versions 2022-02-25 13:58:09 -08:00
Christian Mazakas d943283f80 Add test case for erase_if() 2022-02-23 11:36:48 -08:00
Peter Dimov 5a095c3771 Merge pull request #96 from cmazakas/unknown-warning-fix
Refactor tests to disable `-Wself-assign-overloaded` themselves
2022-02-12 03:34:39 +02:00
Peter Dimov 65094532eb Merge pull request #95 from cmazakas/unitialized-warning-fix
Fix asan unitialized warning
2022-02-12 02:08:27 +02:00
Christian Mazakas d20be2aaf8 Refactor tests to disable -Wself-assign-overloaded themselves instead of in the Jamfile as not all clang versions support the warning 2022-02-11 11:33:11 -08:00
Christian Mazakas d2ded394f6 Fix asan unitialized warning when default-initialized int is copied as a return type 2022-02-11 11:30:47 -08:00
Christian Mazakas 2b8f458a38 Fix signed/unsigned comparison warnings in the transparent test suite 2022-02-11 11:29:31 -08:00
Christian Mazakas 28915fdce0 Fix signed/unsigned comparison warning in reserve tests 2022-02-10 14:57:22 -08:00
Peter Dimov bf0bc6468a Avoid -Wsign-conversion warning in mix_policy.cpp 2022-02-10 18:22:52 +02:00
Christian Mazakas 5e5dbf5984 Refactor scoped allocator test to use a custom non-default-constructible Allocator instead of Intrerprocess which required a dep on Filesystem 2022-02-09 09:52:56 -08:00
Peter Dimov 7d79b35f93 Avoid warnings in tests 2022-01-19 18:57:28 +02:00
Peter Dimov 7aacf9836c Merge branch 'develop' into feature/mix_policy 2022-01-19 01:42:05 +02:00
Peter Dimov 24eeb67275 Update reserve_tests to pass for power of two resize policy 2022-01-18 22:12:57 +02:00
Peter Dimov bf86730a62 Add mix32_policy 2022-01-18 21:31:53 +02:00
Peter Dimov 5c3576c7c6 Add test/unordered/mix_policy.cpp 2022-01-18 20:17:31 +02:00
Christian Mazakas 596e1ce135 Add tests for unordered_multiset::contains() 2022-01-13 12:51:50 -08:00
Christian Mazakas a87277c6e8 Add tests for unordered_set::contains() 2022-01-13 08:03:54 -08:00
Christian Mazakas ce2051ed39 Add tests for unordered_multimap::contains() 2022-01-12 12:57:27 -08:00
Christian Mazakas 510267f6e9 Add tests for unordered_map::contains() 2022-01-12 10:36:36 -08:00
Christian Mazakas f6a077e102 Add transparent test support for multiset's extract() 2022-01-05 08:14:58 -08:00
Christian Mazakas 7c58a8247c Add transparent test support for set's extract() 2022-01-04 11:50:20 -08:00
Christian Mazakas 263150e599 Rename transparent extract tests to include map in their name 2022-01-04 11:50:20 -08:00
Christian Mazakas c485bc975a Add transparent test support for multiset's count() 2022-01-04 09:05:17 -08:00
Christian Mazakas ccbe691cc8 Add transparent test support for set's count() 2022-01-03 15:48:51 -08:00
Christian Mazakas f8b53c1cf7 Rename transparent count tests to include map in their name 2022-01-03 15:48:51 -08:00
Christian Mazakas 3aa62a821a Add transparent test support for multiset's erase() 2022-01-03 13:54:06 -08:00
Christian Mazakas ecf76830a5 Update transparent erase() tests to delete single elements for the multi-containers 2022-01-03 13:53:55 -08:00
Christian Mazakas d7ffd48c67 Add transparent test support for multiset's find() 2022-01-03 07:59:36 -08:00
Christian Mazakas 2656bfbcac Add transparent test support for multiset's equal_range() 2021-12-29 10:36:23 -08:00
Christian Mazakas dc95efea1a Update transparent equal_range() tests to check for ranges of length 1 for multi-containers 2021-12-29 10:36:17 -08:00
Christian Mazakas b23e47c478 Add transparent test support for set's equal_range() 2021-12-27 12:20:47 -08:00