| 259 | // Make a vector out of `n_distinct` sequential int values |
| 260 | template <class Integer = ValueType> |
| 261 | static std::vector<Integer> MakeSequentialIntDictFodder() { |
| 262 | std::default_random_engine gen(42); |
| 263 | std::vector<Integer> values(kNumberOfElements); |
| 264 | { |
| 265 | std::uniform_int_distribution<Integer> values_dist(0, kDistinctElements - 1); |
| 266 | std::generate(values.begin(), values.end(), [&]() { return values_dist(gen); }); |
| 267 | } |
| 268 | return values; |
| 269 | } |
| 270 | |
| 271 | // Make a vector out of `n_distinct` int values with potentially colliding hash |
| 272 | // entries as only their highest bits differ. |
no test coverage detected