// Copyright (c) 2012 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 "gtest/gtest.h" #include "leveldb/filter_policy.h" #include "util/coding.h" #include "util/logging.h" #include "util/testutil.h" namespace leveldb { static const int kVerbose = …; static Slice Key(int i, char* buffer) { … } class BloomTest : public testing::Test { … }; TEST_F(BloomTest, EmptyFilter) { … } TEST_F(BloomTest, Small) { … } static int NextLength(int length) { … } TEST_F(BloomTest, VaryingLengths) { … } // Different bits-per-byte } // namespace leveldb