chromium/components/variations/variations_murmur_hash_unittest.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/variations/variations_murmur_hash.h"

#include <limits>
#include <vector>

#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/smhasher/src/MurmurHash3.h"

namespace variations {
namespace internal {

TEST(VariationsMurmurHashTest, StringToLE32) {}

// The tests inside this #if compare VariationsMurmurHash to the reference
// implementation, MurmurHash3_x86_32, which only works on little-endian.
#if defined(ARCH_CPU_LITTLE_ENDIAN)

// Compare VariationsMurmurHash::Hash to MurmurHash3_x86_32 for every prefix of
// |data|, from the empty string to all of |data|.
TEST(VariationsMurmurHashTest, Hash) {}

TEST(VariationsMurmurHashTest, Hash16) {}

#endif  // defined(ARCH_CPU_LITTLE_ENDIAN)

}  // namespace internal
}  // namespace variations