| 9571 | namespace Catch { |
| 9572 | |
| 9573 | bool startsWith( std::string const& s, std::string const& prefix ) { |
| 9574 | return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin()); |
| 9575 | } |
| 9576 | bool startsWith( std::string const& s, char prefix ) { |
| 9577 | return !s.empty() && s[0] == prefix; |
| 9578 | } |
no test coverage detected