blob: 09b1b89741faef2c86e334b4486091d24d76ddd5 [file] [log] [blame]
* Copyright (c) 2019 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
#include "modules/audio_coding/neteq/histogram.h"
#include "test/gmock.h"
namespace webrtc {
class MockHistogram : public Histogram {
MockHistogram(size_t num_buckets, int forget_factor)
: Histogram(num_buckets, forget_factor) {}
virtual ~MockHistogram() {}
MOCK_METHOD1(Add, void(int));
MOCK_METHOD1(Quantile, int(int));
} // namespace webrtc