Test coverage for search_n with forward iterators by AlexGuteniev · Pull Request #5439 · microsoft/STL (original) (raw)

Resolves #933

The iterator was copied and adapted from 'P0202R3_constexpr_algorithm_and_exchange'.

Not doing fancy stuff from example test in #933: no pretty print failure and no command-line seed. These should be done consistently for all vector algorithms, if we want that. They would be convenient to have, but not strictly necessary.