testlib
testlib copied to clipboard
Make rnd.any return reference
Currently it returns copy and forcing to write ugly code like this
vector<vector<int>> v;
auto &a = v[rnd.next(size(v))];
instead of this
vector<vector<int>> v;
auto &a = rnd.any(v);