// Copyright (c) 2011 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 "util/coding.h" #include <vector> #include "gtest/gtest.h" namespace leveldb { TEST(Coding, Fixed32) { … } TEST(Coding, Fixed64) { … } // Test that encoding routines generate little-endian encodings TEST(Coding, EncodingOutput) { … } TEST(Coding, Varint32) { … } TEST(Coding, Varint64) { … } TEST(Coding, Varint32Overflow) { … } TEST(Coding, Varint32Truncation) { … } TEST(Coding, Varint64Overflow) { … } TEST(Coding, Varint64Truncation) { … } TEST(Coding, Strings) { … } } // namespace leveldb