Commit Graph
428 Commits
Author SHA1 Message Date
Christian Mazakas d3ef0b9a4f Add rehash tests 2022-10-07 10:56:35 -07:00
Christian Mazakas b964fa777c Add at_tests 2022-10-07 10:16:57 -07:00
Christian Mazakas ad248ab76a Fix maybe-uninitialized warning in emplace_tests by explicitly initializing all data members of emplace_value 2022-10-06 09:55:26 -07:00
Christian Mazakas f3803fc071 Add emplace_tests 2022-10-05 13:31:10 -07:00
Christian Mazakas a3c6235f3a Add insert_hint_tests 2022-10-05 13:30:59 -07:00
Christian Mazakas bf6643844b Add foa_move_tests 2022-10-04 14:51:03 -07:00
Christian Mazakas 7dfcdc6da8 Split move_tests into post_move_tests so testing with the new FOA containers is feasible 2022-10-04 14:38:31 -07:00
Christian Mazakas 9ad7096851 Add missing assign_test cases 2022-10-04 11:48:09 -07:00
Christian Mazakas 9280e13697 Add erase_tests 2022-10-04 11:48:09 -07:00
Christian Mazakas d5fcc77579 Add assign_tests 2022-10-03 14:45:02 -07:00
Christian Mazakas 71b64139da Add copy_tests 2022-09-29 13:46:03 -07:00
Christian Mazakas 30997bd9ef Add constructor_tests 2022-09-29 12:50:56 -07:00
Christian Mazakas 6ac1cf1a5f Add find_tests 2022-09-29 11:19:17 -07:00
Christian Mazakas ac3520791e Clean up insert_tests 2022-09-29 11:17:22 -07:00
Christian Mazakas c37cfacb44 Finally get insert_tests passing for flat map/set 2022-09-28 13:49:38 -07:00
Christian Mazakas 450c915284 Get insert_tests passing under sanitizers 2022-09-27 14:25:57 -07:00
Christian Mazakas 892e437428 Restructure insert_tests invocations 2022-09-27 10:34:04 -07:00
Christian Mazakas 505b060637 Update insert_tests to handle new open-addressing table implementation 2022-09-26 15:17:54 -07:00
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