| 46 | } |
| 47 | |
| 48 | void GenRandomFloat(int N, std::vector<float>* vec) { |
| 49 | random::PhiloxRandom philox(392, 44); |
| 50 | random::SimplePhilox rnd(&philox); |
| 51 | vec->resize(N); |
| 52 | for (int i = 0; i < N; ++i) { |
| 53 | (*vec)[i] = rnd.RandFloat(); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | TEST(SorterQSort, UInt64Less) { |
| 58 | thread::ThreadPool threads(Env::Default(), "test", 16); |