teak-llvm/libcxx/test/std/algorithms/alg.modifying.operations
Stephan T. Lavavej 09c311b9a4 [libcxx] [test] D26816: Fix non-Standard assumptions when testing sample().
sample() isn't specified with a reproducible algorithm, so expecting
exact output is non-Standard. Mark those tests with LIBCPP_ASSERT.

In test_small_population(), we're guaranteed to get all of the elements,
but not necessarily in their original order. When PopulationCategory is
forward, we're guaranteed stability (and can therefore test equal()).
Otherwise, we can only test is_permutation(). (As it happens, both libcxx
and MSVC's STL provide stability in this scenario for input-only iterators.)

llvm-svn: 287383
2016-11-18 21:54:43 +00:00
..
alg.copy [libcxx] Properly convert the count arguments to the *_n algorithms before use. 2015-02-10 16:46:42 +00:00
alg.fill Remove trailing whitespace in test suite. Approved by Marshall Clow. 2016-06-01 21:35:39 +00:00
alg.generate [libcxx] Properly convert the count arguments to the *_n algorithms before use. 2015-02-10 16:46:42 +00:00
alg.move
alg.partitions Add missing include in test; NFC. Thanks to Jonathan Wakely for the report. 2016-10-13 13:21:38 +00:00
alg.random.sample [libcxx] [test] D26816: Fix non-Standard assumptions when testing sample(). 2016-11-18 21:54:43 +00:00
alg.random.shuffle Mark LWG 2716 as complete - shuffle and sample disallows lvalue URNGs. 2016-08-28 21:55:00 +00:00
alg.remove
alg.replace
alg.reverse
alg.rotate
alg.swap Test commit: remove whitespace at EOL. 2015-02-05 07:26:14 +00:00
alg.transform
alg.unique
nothing_to_do.pass.cpp