#include <climits>
#include <vector>
#include "gtest/gtest.h"
#include "test/codec_factory.h"
#include "test/encode_test_driver.h"
#include "test/i420_video_source.h"
#include "test/util.h"
#include "vpx_config.h"
namespace {
class BordersTest
: public ::libvpx_test::EncoderTest,
public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> { … };
TEST_P(BordersTest, TestEncodeHighBitrate) { … }
TEST_P(BordersTest, TestLowBitrate) { … }
#if CONFIG_REALTIME_ONLY
VP9_INSTANTIATE_TEST_SUITE(…);
#else
VP9_INSTANTIATE_TEST_SUITE(BordersTest,
::testing::Values(::libvpx_test::kTwoPassGood));
#endif
}