gcc/libstdc++-v3/testsuite/23_containers/unordered_multiset
Jonathan Wakely f6c71c2079
libstdc++: Fix VERIFY(idx = 1) bugs in tests
These should be checking for equality, not performing assignments.

The tests for from_range on associative containers were actually
checking the wrong thing, but the bug in the is_equal function was
making the incorrect checks pass anyway, because all the values being
used were non-zero, so the result of lhs.id = rhs.id was true, but would
have been false if lhs.id == rhs.id had been used as intended.

libstdc++-v3/ChangeLog:

	* testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
	Fix assignment used instead of equality comparison.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc:
	Likewise.
	* testsuite/23_containers/map/cons/from_range.cc: Fix is_equal
	function and expected value of comparison functions after
	construction.
	* testsuite/23_containers/multimap/cons/from_range.cc: Likewise.
	* testsuite/23_containers/multiset/cons/from_range.cc: Likewise.
	* testsuite/23_containers/set/cons/from_range.cc: Likewise.
	* testsuite/23_containers/unordered_map/cons/from_range.cc: Fix
	is_equal functions.
	* testsuite/23_containers/unordered_multimap/cons/from_range.cc:
	Likewise.
	* testsuite/23_containers/unordered_multiset/cons/from_range.cc:
	Likewise.
	* testsuite/23_containers/unordered_set/cons/from_range.cc:
	Likewise.
	* testsuite/25_algorithms/minmax/constrained.cc: Fix assignment
	used instead of equality comparison.
	* testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc:
	Likewise.
2025-09-27 21:17:40 +01:00
..
allocator Update copyright years. 2025-01-02 11:59:57 +01:00
cons libstdc++: Fix VERIFY(idx = 1) bugs in tests 2025-09-27 21:17:40 +01:00
debug libstdc++: Add _GLIBCXX_DEBUG checks on unordered container local_iterator 2025-04-18 21:26:46 +02:00
erase Update copyright years. 2025-01-02 11:59:57 +01:00
hash_policy Update copyright years. 2025-01-02 11:59:57 +01:00
insert Update copyright years. 2025-01-02 11:59:57 +01:00
modifiers libstdc++: Add P1206R7 from_range members to unordered sets [PR111055] 2025-03-18 15:12:53 +01:00
operations Update copyright years. 2025-01-02 11:59:57 +01:00
operators Update copyright years. 2025-01-02 11:59:57 +01:00
requirements Update copyright years. 2025-01-02 11:59:57 +01:00
48101-2_neg.cc Update copyright years. 2025-01-02 11:59:57 +01:00
48101-3_neg.cc Update copyright years. 2025-01-02 11:59:57 +01:00
48101_neg.cc Update copyright years. 2025-01-02 11:59:57 +01:00
55043.cc Update copyright years. 2025-01-02 11:59:57 +01:00
96088.cc libstdc++: Re-enable some XPASS tests for AIX 2025-05-29 14:03:50 +01:00
const_container.cc libstdc++: Make debug iterator pointer sequence const [PR116369] 2025-07-08 07:04:00 +02:00
final_hash.cc Update copyright years. 2025-01-02 11:59:57 +01:00
init-list.cc Update copyright years. 2025-01-02 11:59:57 +01:00
observers.cc Update copyright years. 2025-01-02 11:59:57 +01:00
pmr_typedefs.cc Update copyright years. 2025-01-02 11:59:57 +01:00
pmr_typedefs_debug.cc Update copyright years. 2025-01-02 11:59:57 +01:00
range_access.cc Update copyright years. 2025-01-02 11:59:57 +01:00