Commit Graph

47 Commits

Author SHA1 Message Date
Peter Dimov
7d79b35f93 Avoid warnings in tests 2022-01-19 18:57:28 +02: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
Christian Mazakas
ff4ca3098b Rename transparent equal_range() tests to include map in their name 2021-12-27 09:01:07 -08:00
Christian Mazakas
31392ce1aa Add transparent test support for set's erase() 2021-12-23 13:03:08 -08:00
Christian Mazakas
6cf039eecc Rename transaparent erase tests to include map in their name 2021-12-23 13:03:07 -08:00
Christian Mazakas
1b009da4d0 Add transparent test support for set's find() 2021-12-23 09:45:39 -08:00
Christian Mazakas
b39b6b7635 Rename transparent find tests to specify that they're for maps specifically 2021-12-23 09:45:26 -08:00
Christian Mazakas
c2d3713f40 Update key type in transparent tests to be comparable with plain ints 2021-12-23 09:45:17 -08:00
Christian Mazakas
c4345c809e Add ostream support for key type used in transparent tests 2021-12-23 09:39:13 -08:00
Christian Mazakas
58326b8fff Add transparent test support for multimap's count() 2021-12-22 12:59:45 -08:00
Christian Mazakas
ee5d4b9e73 Remove unnecessary was_called_ statics from transparent test's key comparators 2021-12-22 11:23:57 -08:00
Christian Mazakas
71c332803a Add transparent test support for multimap's extract() 2021-12-21 13:22:18 -08:00
Christian Mazakas
854a5aa3c3 Add transparent test support for multimap's erase() 2021-12-21 09:27:00 -08:00
Christian Mazakas
3d5a2d26d1 Add test support for multimap's equal_range() 2021-12-20 09:26:17 -08:00
Christian Mazakas
4e37a14bf8 Update transparent equal_range() tests to use BOOST_TEST_EQ where applicable 2021-12-20 08:41:06 -08:00
Christian Mazakas
54d36f89ea Add find() test support for multimap 2021-12-17 09:53:04 -08:00
Christian Mazakas
193cf30780 Update find() tests to use BOOST_TEST_EQ 2021-12-15 14:14:26 -08:00
LeonineKing1199
ea5cabb27f Update test to use two implicitly convertible types (const and non-const iterators) and the associated compile-time tests 2021-12-07 10:48:09 -08:00
LeonineKing1199
4041d06e95 Clean up tests 2021-12-06 15:04:40 -08:00
LeonineKing1199
13cd5aa4ce Implement initial draft of heterogeneous extract() 2021-12-06 13:06:05 -08:00
LeonineKing1199
afb83a6cb9 Refactor erase() tests to use BOOST_TEST_EQ where applicable 2021-12-06 08:52:02 -08:00
LeonineKing1199
f5b03fb2e8 Pull out expressions with side-effects from the testing assertions 2021-12-06 08:30:57 -08:00
LeonineKing1199
b8d3aa2a68 Light cleanup of test 2021-12-03 11:19:58 -08:00
LeonineKing1199
52f154ec02 Flesh out test suite for heterogeneous erase() 2021-12-03 10:17:50 -08:00
LeonineKing1199
33f84624ec Add initial draft of heterogeneous erase() 2021-12-02 15:59:12 -08:00
LeonineKing1199
a97483b928 Add test cases for empty UnorderedMaps for equal_range() 2021-12-02 09:42:30 -08:00
LeonineKing1199
9955886ef5 Improve heterogeneous equal_range() test suite to check iterator distance and that the correct key was pulled, including when the map contains multiple keys 2021-12-02 09:18:24 -08:00
LeonineKing1199
13f40e4333 Implement heterogeneous equal_range() for unordered_map 2021-12-01 09:39:07 -08:00
LeonineKing1199
3eb2d3c4b3 Add comments about nature of test 2021-11-29 14:55:18 -08:00
LeonineKing1199
8f1fc75fdf Implement heterogeneous find() 2021-11-29 14:37:04 -08:00
LeonineKing1199
6f5727cbdb Clean up tests by pulling transparent tests into a named function 2021-11-23 14:14:26 -08:00
LeonineKing1199
3f1e4a703a Clean up tests to be a bit more readable 2021-11-23 12:15:53 -08:00
LeonineKing1199
bc9eca70d0 Remove unnecessary assignment operator for test key 2021-11-23 12:04:00 -08:00
LeonineKing1199
93216374ef Flesh out test suite to cover all permutations of transparent/non-transparent Hash & KeyEqual pairs 2021-11-22 13:30:10 -08:00
LeonineKing1199
937c3484cf Flesh out test case 2021-11-22 12:27:29 -08:00
LeonineKing1199
f41b3e8295 Get initial prototype of transparent count() working 2021-11-19 15:29:57 -08:00