// Copyright (c) 2019 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <cstdint> #include <cstdlib> #include <iostream> #include <memory> #include <string> #include <vector> #include "gtest/gtest.h" #include "leveldb/db.h" #include "leveldb/write_batch.h" #include "util/testutil.h" namespace leveldb { namespace { // Creates a random number in the range of [0, max). int GenerateRandomNumber(int max) { … } std::string CreateRandomString(int32_t index) { … } } // namespace TEST(Issue320, Test) { … } } // namespace leveldb