[libcxx-commits] [libcxx] [libc++][test] Augment ranges::{fill, fill_n, find} with missing tests (PR #121209)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 19 10:05:35 PST 2025


================
@@ -48,6 +48,23 @@ struct Test {
   }
 };
 
+TEST_CONSTEXPR_CXX20 bool test_vector_bool(std::size_t N) {
+  { // Test with full bytes
----------------
ldionne wrote:

The tests that existed previously were also checking the before/after value of bits that are not written by the call to `std::fill`, since I think the test acknowledged that the `fill` implementation was likely to change those by mistake. It would be nice to keep that coverage.

https://github.com/llvm/llvm-project/pull/121209


More information about the libcxx-commits mailing list