Home
last modified time | relevance | path

Searched refs:pred_count (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dranges_replace_copy_if.pass.cpp213 int pred_count = 0; in test() local
220 counting_predicate(FalsePredicate{}, pred_count), 0, counting_projection(proj_count)); in test()
221 assert(pred_count == 4); in test()
226 int pred_count = 0; in test() local
232 counting_predicate(FalsePredicate{}, pred_count), 0, counting_projection(proj_count)); in test()
233 assert(pred_count == 4); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dranges_partition_copy.pass.cpp277 int pred_count = 0, proj_count = 0; in test() local
278 counting_predicate pred(is_negative, pred_count); in test()
284 assert(pred_count == expected); in test()
286 pred_count = proj_count = 0; in test()
291 assert(pred_count == expected); in test()
293 pred_count = proj_count = 0; in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/mismatch/
H A Dranges_mismatch.pass.cpp255 int pred_count = 0; in test() local
260 [&](int lhs, int rhs) { ++pred_count; return lhs == rhs; }, in test()
265 assert(pred_count == 8); in test()
270 int pred_count = 0; in test() local
275 [&](int lhs, int rhs) { ++pred_count; return lhs == rhs; }, in test()
280 assert(pred_count == 8); in test()