[libcxx-commits] [libcxx] 5ac257d - [libc++] Remove unneeded tests.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 12 03:22:46 PST 2022
Author: Mark de Wever
Date: 2022-03-12T12:22:38+01:00
New Revision: 5ac257da3559f6bd716330da512735ac07364802
URL: https://github.com/llvm/llvm-project/commit/5ac257da3559f6bd716330da512735ac07364802
DIFF: https://github.com/llvm/llvm-project/commit/5ac257da3559f6bd716330da512735ac07364802.diff
LOG: [libc++] Remove unneeded tests.
As suggested in D120742.
Added:
Modified:
libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
index 55a0c44a446de..1c212368970ca 100644
--- a/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
+++ b/libcxx/test/std/iterators/predef.iterators/counted.iterator/ctor.iter.pass.cpp
@@ -57,30 +57,6 @@ constexpr bool test() {
assert(iter.count() == 8);
}
- {
- const std::counted_iterator iter(cpp20_input_iterator<int*>{buffer}, 8);
- assert(base(iter.base()) == buffer);
- assert(iter.count() == 8);
- }
-
- {
- const std::counted_iterator iter(forward_iterator<int*>{buffer}, 7);
- assert(iter.base() == forward_iterator<int*>{buffer});
- assert(iter.count() == 7);
- }
-
- {
- const std::counted_iterator iter(contiguous_iterator<int*>{buffer}, 6);
- assert(iter.base() == contiguous_iterator<int*>{buffer});
- assert(iter.count() == 6);
- }
-
- {
- const std::counted_iterator iter(InputOrOutputArchetype{buffer}, 8);
- assert(iter.base().ptr == buffer);
- assert(iter.count() == 8);
- }
-
return true;
}
More information about the libcxx-commits
mailing list