#include "db/dbformat.h"
#include "gtest/gtest.h"
#include "util/logging.h"
namespace leveldb {
static std::string IKey(const std::string& user_key, uint64_t seq,
ValueType vt) { … }
static std::string Shorten(const std::string& s, const std::string& l) { … }
static std::string ShortSuccessor(const std::string& s) { … }
static void TestKey(const std::string& key, uint64_t seq, ValueType vt) { … }
TEST(FormatTest, InternalKey_EncodeDecode) { … }
TEST(FormatTest, InternalKey_DecodeFromEmpty) { … }
TEST(FormatTest, InternalKeyShortSeparator) { … }
TEST(FormatTest, InternalKeyShortestSuccessor) { … }
TEST(FormatTest, ParsedInternalKeyDebugString) { … }
TEST(FormatTest, InternalKeyDebugString) { … }
}