Add a random numbers test with a fixed seed.

This commit is contained in:
King_DuckZ 2018-07-29 11:17:59 +01:00
parent 14954a3816
commit 5953ea7cb5
2 changed files with 24 additions and 0 deletions

View file

@ -296,6 +296,12 @@ namespace dhandy {
std::string to_string (I num) {
return std::string(int_to_ary(num).to_string_view());
}
template <std::size_t S>
std::string operator+ (std::string a, const ReversedSizedArray<char, S>& b) {
a.append(b.data(), b.size() - 1);
return a;
}
#endif
} //namespace dhandy