| 184 | } |
| 185 | |
| 186 | inline std::string random_string(std::size_t length, char const *alphabet, std::size_t cardinality) noexcept(false) { |
| 187 | std::string result(length, '\0'); |
| 188 | randomize_string(&result[0], length, alphabet, cardinality); |
| 189 | return result; |
| 190 | } |
| 191 | |
| 192 | inline std::string repeat(std::string const &patten, std::size_t count) noexcept(false) { |
| 193 | std::string result(patten.size() * count, '\0'); |
no test coverage detected
searching dependent graphs…