diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-07-24 23:16:37 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-07-24 23:16:37 +0000 |
commit | 7ee04dd6f27c786e20cbb13912f893d0e00854f1 (patch) | |
tree | 4acab471e385d6879629dbea6a8ae074681386f7 /test/std/containers/unord/unord.set/bucket_count.pass.cpp | |
parent | a3db71902aac604a2ab0622168ae9f28e6bc9281 (diff) | |
download | libcxx-7ee04dd6f27c786e20cbb13912f893d0e00854f1.tar.gz |
Make bucket_count() greater-equal assertions portable. Patch from STL@microsoft.com
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std/containers/unord/unord.set/bucket_count.pass.cpp')
-rw-r--r-- | test/std/containers/unord/unord.set/bucket_count.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/std/containers/unord/unord.set/bucket_count.pass.cpp b/test/std/containers/unord/unord.set/bucket_count.pass.cpp index e35e43615..05d8a7d5a 100644 --- a/test/std/containers/unord/unord.set/bucket_count.pass.cpp +++ b/test/std/containers/unord/unord.set/bucket_count.pass.cpp @@ -45,7 +45,7 @@ int main() P(80) }; const C c(std::begin(a), std::end(a)); - assert(c.bucket_count() >= 11); + assert(c.bucket_count() >= 8); } #if TEST_STD_VER >= 11 { @@ -71,7 +71,7 @@ int main() P(80) }; const C c(std::begin(a), std::end(a)); - assert(c.bucket_count() >= 11); + assert(c.bucket_count() >= 8); } #endif } |