| 29 | } |
| 30 | |
| 31 | TString GenerateRandomString(size_t size) { |
| 32 | TReallyFastRng32 rng(42); |
| 33 | TString result; |
| 34 | result.reserve(size + sizeof(ui64)); |
| 35 | while (result.size() < size) { |
| 36 | ui64 value = rng.GenRand64(); |
| 37 | result += TStringBuf(reinterpret_cast<const char*>(&value), sizeof(value)); |
| 38 | } |
| 39 | result.resize(size); |
| 40 | return result; |
| 41 | } |
| 42 | |
| 43 | Y_UNIT_TEST(TestHelloWorld) { |
| 44 | TestCase("hello world"); |
no test coverage detected