// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <tuple> #include "src/base/utils/random-number-generator.h" #include "src/compiler/persistent-map.h" #include "test/unittests/test-utils.h" namespace v8 { namespace internal { namespace compiler { // A random distribution that produces both small values and arbitrary numbers. static int small_big_distr(base::RandomNumberGenerator* rand) { … } class PersistentMapTest : public TestWithPlatform { … }; TEST_F(PersistentMapTest, RefTest) { … } TEST_F(PersistentMapTest, Zip) { … } } // namespace compiler } // namespace internal } // namespace v8