chromium/third_party/blink/renderer/platform/media/interval_map_unittest.cc

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

#include "third_party/blink/renderer/platform/media/interval_map.h"

#include <stdint.h>

#include <string>

#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "media/base/test_random.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace blink {

// Our tests only modifiy the interval map entries in [0..kTestSize).
// We need this to be big enough to hit tricky corner cases, but small
// enough that we get lots of entry duplication to clean up.
// Also, SimpleIntervalMap uses a vector of size kTestSize to emulate
// a intervalmap, so making this too big will the test down a lot.
const int kTestSize =;

class SimpleIntervalMap {};

class IntervalMapTest : public testing::Test {};

TEST_F(IntervalMapTest, SimpleTest) {}

TEST_F(IntervalMapTest, SimpleIncrementTest) {}

TEST_F(IntervalMapTest, IncrementJoinIntervalsTest) {}

TEST_F(IntervalMapTest, SetJoinIntervalsTest) {}

TEST_F(IntervalMapTest, FindTest) {}

TEST_F(IntervalMapTest, MinMaxInt) {}

TEST_F(IntervalMapTest, RandomIncrementTest) {}

TEST_F(IntervalMapTest, RandomSetTest) {}

}  // namespace blink