| 56 | } |
| 57 | |
| 58 | int main() { |
| 59 | locale::global(locale("")); |
| 60 | wcout.imbue(locale("")); |
| 61 | char c; |
| 62 | srand((uint64_t) &c); |
| 63 | |
| 64 | string rootDir = "/tmp/mmkv"; |
| 65 | MMKV::initializeMMKV(rootDir); |
| 66 | |
| 67 | auto processID = getpid(); |
| 68 | cout << processID << ": started\n"; |
| 69 | |
| 70 | for (size_t index = 0; index < keyCount; index++) { |
| 71 | arrIntKeys.push_back("int-" + to_string(index)); |
| 72 | arrStringKeys.push_back("string-" + to_string(index)); |
| 73 | } |
| 74 | brutleTest(processID); |
| 75 | |
| 76 | cout << processID << ": ended\n"; |
| 77 | return 0; |
| 78 | } |
nothing calls this directly
no test coverage detected