Home
last modified time | relevance | path

Searched refs:predCount (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/
H A Dranges.equal.pass.cpp287 int predCount = 0; in test() local
293 assert(predCount == 0); in test()
299 int predCount = 0; in test() local
305 assert(predCount == 0); in test()
314 int predCount = 0; in test() local
320 assert(predCount <= 4); in test()
326 int predCount = 0; in test() local
334 assert(predCount <= 4); in test()
343 int predCount = 0; in test() local
349 assert(predCount == 3); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/
H A Dranges.is_permutation.pass.cpp198 int predCount = 0; in test() local
202 predCount = proj1Count = proj2Count = 0; in test()
205 counting_predicate pred(std::ranges::equal_to{}, predCount); in test()
222 assert(predCount == 0); in test()
232 assert(predCount == 0); in test()
250 assert(predCount == expected); in test()
260 assert(predCount == expected); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/
H A Dranges.lexicographical_compare.pass.cpp206 int predCount = 0; in test() local
207 auto pred = [&](int i, int j) { ++predCount; return i < j; }; in test()
215 assert(predCount == 10); in test()
220 int predCount = 0; in test() local
221 auto pred = [&](int i, int j) { ++predCount; return i < j; }; in test()
229 assert(predCount == 10); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
H A Dranges.find_first_of.pass.cpp215 int predCount = 0; in test() local
216 auto predCounter = [&](int, int) { ++predCount; return false; }; in test()
224 assert(predCount <= 8); in test()
229 int predCount = 0; in test() local
230 auto predCounter = [&](int, int) { ++predCount; return false; }; in test()
237 assert(predCount == 8); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
H A Dranges.transform.pass.cpp380 int predCount = 0; in test_iterators() local
382 auto pred = [&](int) { ++predCount; return 1; }; in test_iterators()
387 assert(predCount == 4); in test_iterators()
392 int predCount = 0; in test_iterators() local
394 auto pred = [&](int) { ++predCount; return 1; }; in test_iterators()
400 assert(predCount == 4); in test_iterators()
407 int predCount = 0; in test_iterators() local
410 auto pred = [&](int, int) { ++predCount; return 1; }; in test_iterators()
417 assert(predCount == 4); in test_iterators()
423 int predCount = 0; in test_iterators() local
[all …]