| 9497 | namespace Catch { |
| 9498 | |
| 9499 | bool startsWith(std::string const &s, std::string const &prefix) { |
| 9500 | return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin()); |
| 9501 | } |
| 9502 | bool startsWith(std::string const &s, char prefix) { |
| 9503 | return !s.empty() && s[0] == prefix; |
| 9504 | } |
no test coverage detected